diff --git a/types/react-native-vector-icons/FontAwesome5.d.ts b/types/react-native-vector-icons/FontAwesome5.d.ts index 44fca921cc..79c77ff0e2 100644 --- a/types/react-native-vector-icons/FontAwesome5.d.ts +++ b/types/react-native-vector-icons/FontAwesome5.d.ts @@ -8,16 +8,16 @@ export const FA5Style: { brand: 3; }; -type ValueOf = T[keyof T]; +export type ValueOf = T[keyof T]; // borrowed from // https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html -type Omit = Pick>; +export type Omit = Pick>; export type FontAwesome5IconVariants = keyof Omit; // modified from https://stackoverflow.com/a/49725198/1105281 -type AllowOnlyOne = Omit & +export type AllowOnlyOne = Omit & { [K in Keys]-?: Partial> & Partial, undefined>>