Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 2.1 KB

README.md

File metadata and controls

61 lines (52 loc) · 2.1 KB

Type

About

One more library for defining types. The library is exported as a non-minified ESM. It also has a rollback UMD version.

Install

npm i @flighter/type -d

Or

yarn add @flighter/type

Download

ES Next minified (3 KB)

Initialization

// ESM
import * as Type from '@flighter/type';
import {<function name>} from '@flighter/type';// recommended
import {<function name>} from '@flighter/type/esm/index.js';
import {<function name>} from '@flighter/type/esm/<function name>.js';

// UMD
const Type = require('@flighter/type/umd/index.cjs');
const {<function name>} = require('@flighter/type/umd/index.cjs');
const {<function name>} = require('@flighter/type/umd/<function name>.cjs');

API


License

MIT

Changelog

The latest updates