Installation
npm install --save @types/google.fonts
Summary
This package contains type definitions for google.fonts (https://developers.google.com/fonts/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/google.fonts.
index.d.ts
declare namespace google.fonts {
interface WebfontList {
kind: string;
items: WebfontFamily[];
}
interface WebfontFamily {
category?: string | undefined;
kind: string;
family: string;
subsets: string[];
variants: string[];
version: string;
lastModified: string;
files: { [variant: string]: string };
}
}
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Dan Marshall.