From 21e7b8c3b873083aa77959418e762c3a63d63dd1 Mon Sep 17 00:00:00 2001 From: mynane <755836844@qq.com> Date: Sat, 31 Dec 2022 19:24:25 +0800 Subject: [PATCH] fix: start warning (#187) Co-authored-by: shijinhua --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index b556f120..a312aa0d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ -import List, { ListRef, ListProps } from './List'; +import List from './List'; -export { ListRef, ListProps }; +export type { ListRef, ListProps } from './List'; export default List;