typescript-all-in-converter
Convert a project all in one
Last updated 8 months ago by dschmidt .
MIT · Original npm · Tarball · package.json
$ cnpm install typescript-all-in-converter 
SYNC missed versions from official npm registry.

Typescript All-In Converter

Ever had a massive project with a lot of Javascript files? Moving everything to Typescript at once and setting a lot of ts-ignores is one way to do it. This CLI tool wants to help with it.

Usage

Run typescript-all-in /path/to/project in a project where a typescript converter is setup and typescript is installd. The effect will be:

  • Every js file will be changed to a ts or tsx file
  • Every typescript error will be ignored with a // @ts-ignore typescript-all-in error, so the project will still compile
  • Every existing // @ts-ignore typescript-all-in comment will be removed and it will be checked if they are still needed

This means if you ran this command already, you can safely run it again. Plus, you can also run it after you fixed a type error to check which other ones might also be fixed by that.

License

MIT

Current Tags

  • 0.0.1-alpha.1                                ...           latest (8 months ago)
  • 0.0.1-alpha.2                                ...           next (7 months ago)

4 Versions

  • 0.0.1-alpha.2                                ...           7 months ago
  • 0.0.1-alpha.1                                ...           8 months ago
  • 0.0.1-alpha.0                                ...           8 months ago
  • 0.0.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 4
This Month 4
Last Day 0
Last Week 0
Last Month 0
Dependencies (14)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |