File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
import { Component } from 'react'
8
8
9
9
declare module 'react-native-swiper' {
10
- interface SwiperStates {
10
+ interface SwiperState {
11
11
autoplayEnd : false
12
12
loopJump : false
13
13
width : number
@@ -21,7 +21,7 @@ declare module 'react-native-swiper' {
21
21
dir : 'x' | 'y'
22
22
}
23
23
24
- interface SwiperInternals extends SwiperStates {
24
+ interface SwiperInternals extends SwiperState {
25
25
isScrolling : boolean
26
26
}
27
27
@@ -138,7 +138,7 @@ declare module 'react-native-swiper' {
138
138
scrollEnabled ?: boolean
139
139
}
140
140
141
- export default class Swiper extends Component < SwiperProps > {
141
+ export default class Swiper extends Component < SwiperProps , SwiperState > {
142
142
scrollBy : ( index ?: number , animated ?: boolean ) => void ;
143
143
scrollTo : ( index : number , animated ?: boolean ) => void ;
144
144
}
You can’t perform that action at this time.
0 commit comments