Suport typescript for migration scripts
See original GitHub issueI’m not a very good with javascript/typescript, so maybe I’m talking nonsense.
It would be lovely to be able to write the migration scripts in typescript.
I’ve tried it, and got a syntax error when trying to import
.
Is it possible to support typescript?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Documentation - Migrating from JavaScript - TypeScript
During our JS to TS migration, we'll need to separate our input files to prevent TypeScript from overwriting them. If your output files...
Read more >10 Strategies for migrating to TypeScript - Exploring JS
These are three strategies for migrating to TypeScript: We can support a mix of JavaScript and TypeScript files for our code base.
Read more >ts-migrate: A Tool for Migrating to TypeScript at Scale - Medium
To solve this problem, we decided to use code modification scripts — codemods! Through our initial process of manual migration to TypeScript ......
Read more >A simple guide for migrating from JavaScript to TypeScript
This article shows you how to easily migrate a React component from JavaScript to TypeScript to improve your project.
Read more >Migrating millions of lines of code to TypeScript - Stripe
TypeScript support was one such pressing issue and teams supporting ... team generated a new migration branch and ran our automated scripts.
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
This is resolved in
0.5.1
. See the docs for usage. It works directly with TypeScript or JSDoc, if you prefer.@fringley I’ll assume that fixed your issue. I’ve documented the extra step in the README. If you still have trouble, let me know.