Skip to content

Commit

Permalink
Fix React type declaration (leecade#1185)
Browse files Browse the repository at this point in the history
  • Loading branch information
repli2dev authored May 26, 2020
1 parent 1356b63 commit 28d034a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,5 @@ declare module 'react-native-swiper' {
export default class Swiper extends Component<SwiperProps, SwiperState> {
scrollBy: (index?: number, animated?: boolean) => void
scrollTo: (index: number, animated?: boolean) => void
}
}

0 comments on commit 28d034a

Please sign in to comment.