diff --git a/types/react-native-snap-carousel/index.d.ts b/types/react-native-snap-carousel/index.d.ts index 1c5a749a87..d7b38c752e 100644 --- a/types/react-native-snap-carousel/index.d.ts +++ b/types/react-native-snap-carousel/index.d.ts @@ -297,7 +297,7 @@ export interface CarouselStatic extends React.ComponentClass * (see #238). Note that the offset parameter is not required and will default to either 1 or -1 depending * on the current scroll position */ - triggerRenderingHack(offset: number): void; + triggerRenderingHack(offset?: number): void; } export type CarouselProperties = ScrollViewProps & CarouselProps & React.Props>;