mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-08 16:40:30 +08:00
Update webfontloader.d.ts
The 'text' property of the Google interface is optional. https://github.com/typekit/webfontloader#google
This commit is contained in:
Vendored
+3
-3
@@ -35,8 +35,8 @@ declare module WebFont {
|
||||
monotype?:Monotype;
|
||||
}
|
||||
export interface Google {
|
||||
families?:Array<string>;
|
||||
text: string;
|
||||
families:Array<string>;
|
||||
text?: string;
|
||||
}
|
||||
export interface Typekit {
|
||||
id?:Array<string>;
|
||||
@@ -57,4 +57,4 @@ declare module WebFont {
|
||||
}
|
||||
declare module "webfontloader" {
|
||||
export = WebFont;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user