Update webfontloader.d.ts

The 'text' property of the Google interface is optional.
https://github.com/typekit/webfontloader#google
This commit is contained in:
Róbert Darida
2016-01-07 17:46:50 +01:00
parent 81b951f1ac
commit ccf1db94c8
+3 -3
View File
@@ -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;
}
}