@colorsystem/api-typings
v0.0.1
Published
TypeScript definitions for the ColorSystem.io API
Maintainers
Readme
ColorSystem.io API typings
This repository contains the typings for the ColorSystem.io API.
Usage
Installation
npm i -D @colorsystem/api-typings # or yarn add -D @colorsystem/api-typingsConfigure 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/@colorsysteminstead.Types should become globally available without needing to use import statements.
