@colorsystem/api-typings
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

ColorSystem.io API typings

This repository contains the typings for the ColorSystem.io API.

Usage

  1. Installation

    npm i -D @colorsystem/api-typings
    # or
    yarn add -D @colorsystem/api-typings
  2. Configure tsconfig.json

    {
      "compilerOptions": {
        "typeRoots": ["./node_modules/@colorsystem"]
      }
    }

    The configuration above is needed for the TypeScript compiler to use type definitions found in ./node_modules/@colorsystem. Normally, most external type definitions are from DefinitelyTyped and are installed in /@types, which included by TypeScript by default. Since we host the api typings separately, they are installed outside in /@colorsystem instead.

    Types should become globally available without needing to use import statements.

Package Sidebar

Install

npm i @colorsystem/api-typings

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.57 kB

Total Files

3

Last publish

Collaborators

  • simonalmers