Type definitions for ES2015.
Installation can be done using typings.
From the registry:
$ typings install env~es2015 --global --save
From the source:
$ typings install github:typed-contrib/es2015#0.1.0 --global --save
From the registry:
$ typings install env~es2015-promise env~es2015-math --global --save
From the source:
$ typings install github:typed-contrib/es2015/promise/typings.json#0.1.0 --global --save
Contributions are welcome !
# Installation
# Fork this repo (https://github.com/typed-contrib/es2015)
# Clone the fork (E.g. `https://github.com/<your_username>/es2015.git`)
cd es2015
# Install modules and dependencies
npm install
# Build typings (concatenate by using <reference> tags)
npm run build
# Test typings over core-js and MDN samples
npm test
Some resources to help writing Typescript type definitions:
This type definitions are tested using source core-js
and MDN
samples
.
MIT