tstt
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

TypeScript Type Library

NPM License Downloads

Dependencies Dev Dependencies Peer Dependencies

Intention is to collect useful abstract type operators in one place, so you can stop copying and pasting these solutions into project after project. Library is designed to be fully static, i.e. it has no runtime component, only a type definition file.

Branch Status
master CircleCI
develop CircleCI

Installation

Install as any other npm package, preferably as development dependency.

# NPM 
npm i tstt --save-dev

# Yarn
yarn add tstt --dev

Usage

  • Import types you want to use:
    import { ... } from "tstt".

  • Enable enhancements of native TypeScript types by including any of lib.*.d.ts files. your tsconfig.json:

# tsconfig.json
"compilerOptions": { ... }
"include": {
  "node_modules/tstt/lib/lib.es5.d.ts"
}

or by using Triple-Slash Directives:
/// <reference path="../../lib/lib.es2015.reflect.d.ts"/>

Contributing

Read contribution guide to learn about development process.

Related Projects

License

MIT License.

Readme

Keywords

Package Sidebar

Install

npm i tstt

Weekly Downloads

2

Version

1.0.8

License

MIT

Unpacked Size

17 kB

Total Files

18

Last publish

Collaborators

  • gavar