mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Merge pull request #18983 from timwangdev/optional-loadfont
[react-native-vector-icons] Make loadFont file parameter optional
This commit is contained in:
2
types/react-native-vector-icons/Icon.d.ts
vendored
2
types/react-native-vector-icons/Icon.d.ts
vendored
@@ -191,7 +191,7 @@ export class Icon extends React.Component<IconProps, any> {
|
||||
size?: number
|
||||
): Promise<ImageSource>;
|
||||
static loadFont(
|
||||
file: string
|
||||
file?: string
|
||||
): Promise<void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user