Skip to content

Commit 70f23a5

Browse files
committed
fix: fix tsc error
1 parent a34e6eb commit 70f23a5

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import './style/index.scss'
2-
import './style/themes/red.scss'
3-
import './style/themes/purple.scss'
4-
51
export { default as AtActionSheet } from './components/action-sheet'
62
export { default as AtActionSheetItem } from './components/action-sheet/body/item'
73
export { default as AtActivityIndicator } from './components/activity-indicator'

types/swipe-action.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { MouseEvent, ComponentClass } from 'react'
2-
import { SelectorQuery } from '@tarojs/taro'
1+
import { ComponentClass } from 'react'
32
import {
43
CommonEventFunction,
54
CommonEvent
@@ -65,7 +64,7 @@ export interface AtSwipeActionState {
6564
export interface AtSwipeActionOptionsProps extends AtComponent {
6665
componentId: string
6766
options: SwipeActionOption[]
68-
onQueryedDom: (res: SelectorQuery.execObject) => void
67+
onQueryedDom: (res: any) => void
6968
}
7069

7170
declare const AtSwipeAction: ComponentClass<AtSwipeActionProps>

0 commit comments

Comments
 (0)