Skip to content

FLighter7/type

Repository files navigation

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