1.1.0 • Published 7 years ago

js2ts v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

js2ts

Converts a JavaScript project into a TypeScript project

Installation

npm i -g js2ts

Usage

  1. Move all your js files to a src/ folder in the root of your package (tests can stay in the test/ folder).
  2. Check that each js file's first line is 'use strict'.
  3. Update your package if it doesn't work in strict mode.
  4. Run js2ts in the root of the package you wanna convert.

License

MIT © Zoltan Kochan

1.1.0

7 years ago

1.0.0

7 years ago