diff --git a/types/react-native-safe-area/index.d.ts b/types/react-native-safe-area/index.d.ts index a6e922e083..fd38aec0a5 100644 --- a/types/react-native-safe-area/index.d.ts +++ b/types/react-native-safe-area/index.d.ts @@ -43,6 +43,6 @@ export type Direction = export function withSafeArea( WrappedComponent: React.ComponentType, - applyTo: 'margin' | 'padding' | 'absolutePosition' | 'contentInset', - direction: Direction, + applyTo?: 'margin' | 'padding' | 'absolutePosition' | 'contentInset', + direction?: Direction, ): React.ComponentType;