1.0.8 • Published 5 years ago

tstt v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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.

BranchStatus
masterCircleCI
developCircleCI

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.

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago