Unusabel npx ts-migrate -- reignore
See original GitHub issue% npx ts-migrate -- reignore
Usage: npm run ts-migrate -- <command> [options]
Commands:
npm run ts-migrate -- init <folder> Initialize tsconfig.json file in <folder>
npm run ts-migrate -- init:extended <folder> Initialize tsconfig.json file in <folder>
npm run ts-migrate -- rename [options] <folder> Rename files in folder from JS/JSX to TS/TSX
npm run ts-migrate -- migrate [options] <folder> Fix TypeScript errors, using codemods
npm run ts-migrate -- reignore <folder> Re-run ts-ignore on a project
Options:
-h, --help Show help [boolean]
Examples:
npm run ts-migrate -- --help Show help
npm run ts-migrate -- migrate --help Show help for the migrate command
npm run ts-migrate -- init frontend/foo Create tsconfig.json file at
frontend/foo/tsconfig.json
npm run ts-migrate -- init:extended frontend/foo Create extended from the base tsconfig.json
file at frontend/foo/tsconfig.json
npm run ts-migrate -- rename frontend/foo Rename files in frontend/foo from JS/JSX to
TS/TSX
npm run ts-migrate -- rename frontend/foo --s Rename files in frontend/foo/bar/baz from
"bar/baz" JS/JSX to TS/TSX
Must provide a command.
On "ts-migrate": "^0.1.12",
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
ts-migrate: A Tool for Migrating to TypeScript at Scale - Medium
2) All-in migration! Take a JavaScript or partial TypeScript project and convert it completely. We'll need to add some any types and @ts-ignore...
Read more >How to Migrate Application From JavaScript to TypeScript
Helpful tips for painless migration from JavaScript to TypeScript that work on any scale.
Read more >How to use ts-migrate to convert JS files to TS ... - Stack Overflow
It is done through the (currently undocumented) option flag --plugin jsdoc : npx ts-migrate-full . --plugin jsdoc.
Read more >Introduce TypeScript to react(js) project with ts-migrate - DEV ...
npx ts-migrate -full src Welcome to TS Migrate! :D This script will migrate a frontend folder to ... [strip-ts-ignore] Finished in 53.092ms.
Read more >"Automatically Migrating to TypeScript with ts ... - YouTube
(Evan Shaw) Learn about ts-migrate, an open source tool to automate the process of converting a JavaScript code base to TypeScript.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It worked when I omitted the
--
:Related / duplicate: https://github.com/airbnb/ts-migrate/issues/50