DefinitelyTyped/types/google.fonts/index.d.ts
Nathan Shively-Sanders 608c146d89 Mark non-npm packages
2019-02-13 15:44:35 -08:00

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 };
}
}