diff --git a/types/react-native-safe-area/index.d.ts b/types/react-native-safe-area/index.d.ts index 923c5ae1bf..a6e922e083 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' = 'margin', - direction: Direction = 'all', + applyTo: 'margin' | 'padding' | 'absolutePosition' | 'contentInset', + direction: Direction, ): React.ComponentType;