Skip to content

Commit

Permalink
Use ReadonlyArray instead of readonly Edge[]
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Aug 7, 2020
1 parent 32bd487 commit ee9c8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SafeArea.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ export interface NativeSafeAreaProviderProps {
export type NativeSafeAreaViewProps = ViewProps & {
children?: React.ReactNode;
mode?: 'padding' | 'margin';
edges?: readonly Edge[];
edges?: ReadonlyArray<Edge>;
};

0 comments on commit ee9c8f0

Please sign in to comment.