1.0.0 • Published 6 years ago

@typeforce/symbol-dts v1.0.0

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

symbol-dts

NPM NPM CDN LICENSE

Adds environment type definitions for ES6 Symbols.

Usage

    npm install @typeforce/symbol-dts --save   # Install package via NPM
    let x: Symbol; // <- No type error, even in ES < 6.

This package contains TypeScript type declarations.

Build

When building the project, a folder named dist/ will be created if it does not already exist, where the compiled code will be outputted to. Type declaration files will also be generated and outputted to the dist/ folder.

    npm install     # Installs dependencies.
    npm run build   # Build the project.

License

Refer to the LICENSE file for license information.