diff --git a/types/react-native-vector-icons/index.d.ts b/types/react-native-vector-icons/index.d.ts index 6aabaadd70..01f680220a 100644 --- a/types/react-native-vector-icons/index.d.ts +++ b/types/react-native-vector-icons/index.d.ts @@ -35,7 +35,7 @@ export function createIconSet( * * @see http://fontello.com */ -export function createIconSetFromFontello(config: {}): typeof Icon; +export function createIconSetFromFontello(config: {}, fontName?: string, fontFile?: string): typeof Icon; /** * Convenience method to create a custom font from IcoMoon @@ -50,4 +50,4 @@ export function createIconSetFromFontello(config: {}): typeof Icon; * * @see https://icomoon.io/app */ -export function createIconSetFromIcoMoon(config: {}): typeof Icon; +export function createIconSetFromIcoMoon(config: {}, fontName?: string, fontFile?: string): typeof Icon;