1.0.0 • Published 3 years ago

@flighter/type v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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