mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
632 B
TypeScript
23 lines
632 B
TypeScript
// Type definitions for non-npm package 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 };
|
|
}
|
|
}
|