mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
fontfaceobserver: union with null in load
This commit is contained in:
Vendored
+1
-1
@@ -25,7 +25,7 @@ declare class FontFaceObserver {
|
||||
* @param testString If your font doesn't contain latin characters you can pass a custom test string.
|
||||
* @param timeout The default timeout for giving up on font loading is 3 seconds. You can increase or decrease this by passing a number of milliseconds.
|
||||
*/
|
||||
load(testString?: string, timeout?: number): Promise<void>;
|
||||
load(testString?: string | null, timeout?: number): Promise<void>;
|
||||
}
|
||||
|
||||
declare module "fontfaceobserver" {
|
||||
|
||||
Reference in New Issue
Block a user