mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added test cases
This commit is contained in:
@@ -11,7 +11,19 @@ var config: webfontloader.Config = {
|
||||
fontactive: function(familyName:string, fvd:string) {},
|
||||
fontinactive: function(familyName:string, fvd:string) {},
|
||||
google: {
|
||||
families: ['Droid Sans']
|
||||
families: ['Droid Sans', 'Droid Serif:bold'],
|
||||
text: 'abcdedfghijklmopqrstuvwxyz!'
|
||||
},
|
||||
custom: {
|
||||
families: ['My Font', 'My Other Font:n4,i4,n7'],
|
||||
urls: ['/fonts.css']
|
||||
},
|
||||
fontdeck: {
|
||||
id: 'xxxx'
|
||||
},
|
||||
monotype: {
|
||||
projectId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
|
||||
version: 12345
|
||||
},
|
||||
timeout: 2000
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -36,6 +36,7 @@ declare module WebFont {
|
||||
}
|
||||
export interface Google {
|
||||
families?:Array<string>;
|
||||
text: string;
|
||||
}
|
||||
export interface Typekit {
|
||||
id?:Array<string>;
|
||||
|
||||
Reference in New Issue
Block a user