Files
DefinitelyTyped/types/google.fonts/index.d.ts
2017-03-24 14:27:52 -07:00

23 lines
616 B
TypeScript

// Type definitions for Google Fonts API 1.0
// Project: https://developers.google.com/fonts/
// Definitions by: Dan Marshall <https://github.com/danmarshall>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace google.fonts {
interface WebfontList {
kind: string;
items: WebfontFamily[];
}
interface WebfontFamily {
category?: string;
kind: string;
family: string;
subsets: string[];
variants: string[];
version: string;
lastModified: string;
files: { [variant: string]: string };
}
}