diff --git a/src/packages/loading/index.taro.ts b/src/packages/loading/index.taro.ts index cc26bc17ba..01d49f91dc 100644 --- a/src/packages/loading/index.taro.ts +++ b/src/packages/loading/index.taro.ts @@ -1,4 +1,4 @@ import { Loading } from './loading.taro' -export type { LoadingType, DirectionType } from './loading.taro' +export type { LoadingProps, LoadingType, DirectionType } from './loading.taro' export default Loading diff --git a/src/packages/loading/index.ts b/src/packages/loading/index.ts index 598b2e195d..65d01505b3 100644 --- a/src/packages/loading/index.ts +++ b/src/packages/loading/index.ts @@ -1,4 +1,4 @@ import { Loading } from './loading' -export type { LoadingType, DirectionType } from './loading' +export type { LoadingProps, LoadingType, DirectionType } from './loading' export default Loading