@types/google.fonts
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/google.fonts

Weekly Downloads

711

Version

1.0.5

License

MIT

Unpacked Size

3.39 kB

Total Files

5

Last publish

Collaborators

  • types