mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +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:
1 parent
81b951f1ac
commit
ccf1db94c8
1 file changed
+3
-3
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