js2ts
v1.1.0
Published
Converts a JavaScript project into a TypeScript project
Readme
js2ts
Converts a JavaScript project into a TypeScript project
Installation
npm i -g js2tsUsage
- Move all your js files to a
src/folder in the root of your package (tests can stay in thetest/folder). - Check that each js file's first line is
'use strict'. - Update your package if it doesn't work in strict mode.
- Run
js2tsin the root of the package you wanna convert.
