diff --git a/src/types.ts b/src/types.ts index e9a3798..97cb671 100644 --- a/src/types.ts +++ b/src/types.ts @@ -4,7 +4,7 @@ import { TextStyle, ViewStyle } from 'react-native'; export interface ActionSheetProps { showActionSheetWithOptions: ( options: ActionSheetOptions, - callback: (i: number) => void | Promise + callback: (i?: number) => void | Promise ) => void; }