Skip to content

Commit

Permalink
findBestAvailableLanguage with ReadonlyArray
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbiero committed Jul 28, 2020
1 parent 4e4d9ae commit 09eefb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ declare module "react-native-localize" {
): void;

export function findBestAvailableLanguage<T extends string>(
languageTags: T[],
languageTags: ReadonlyArray<T>,
): { languageTag: T; isRTL: boolean } | undefined;
}

0 comments on commit 09eefb7

Please sign in to comment.