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 77import { Component } from 'react'
88
99declare module 'react-native-swiper' {
10- interface SwiperStates {
10+ interface SwiperState {
1111 autoplayEnd : false
1212 loopJump : false
1313 width : number
@@ -21,7 +21,7 @@ declare module 'react-native-swiper' {
2121 dir : 'x' | 'y'
2222 }
2323
24- interface SwiperInternals extends SwiperStates {
24+ interface SwiperInternals extends SwiperState {
2525 isScrolling : boolean
2626 }
2727
@@ -138,7 +138,7 @@ declare module 'react-native-swiper' {
138138 scrollEnabled ?: boolean
139139 }
140140
141- export default class Swiper extends Component < SwiperProps > {
141+ export default class Swiper extends Component < SwiperProps , SwiperState > {
142142 scrollBy : ( index ?: number , animated ?: boolean ) => void ;
143143 scrollTo : ( index : number , animated ?: boolean ) => void ;
144144 }
You can’t perform that action at this time.
0 commit comments