From 548d72f71005f3e4f703a4cf34cd91366a987f11 Mon Sep 17 00:00:00 2001 From: TaoWei Date: Mon, 5 Nov 2018 14:47:05 +0800 Subject: [PATCH] fix(component): fixed types of SwiperItem (#997) --- packages/taro-components/types/Swiper.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-components/types/Swiper.d.ts b/packages/taro-components/types/Swiper.d.ts index 59d35a142595..cd79df7af9f1 100644 --- a/packages/taro-components/types/Swiper.d.ts +++ b/packages/taro-components/types/Swiper.d.ts @@ -124,7 +124,7 @@ interface SwiperItemProps extends StandardProps { /** * 该 swiper-item 的标识符 */ - itemId: string + itemId?: string } declare const SwiperItem: ComponentType