tsc does not pass after running reignore
See original GitHub issueI ran ts-migrate reignore .
on my codebase. When I run tsc
, I get a bunch of errors. I made sure that the version of tsc
I’m using matches what ts-migrate
bundles.
The 126 errors are in this gist.
I manually removed one of the error TS2578: Unused '@ts-expect-error' directive
errors, and there was no problem on that line on a subsequent tsc
run.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:7
Top Results From Across the Web
running tsc command does nothing, ignores tsconfig file?
Yes tsc ignores your tsconfig.json because you have passed it a file to process. Typescript docs: When input files are specified on the ......
Read more >ts-loader - npm
Start using ts-loader in your project by running `npm i ts-loader`. ... that when typescript doesn't do a full type check, it does...
Read more >How to use ESLint with TypeScript | Khalil Stemmler
ESLint is a JavaScript linter that you can use to lint either TypeScript or JavaScript code. In this post, we'll walk through how...
Read more >Working with JavaScript in Visual Studio Code
When type inference does not provide the desired information, ... Run npm --version from a terminal or command prompt to quickly check that...
Read more >Features | Vite
Native ES imports do not support bare module imports like the following: ... (you can run tsc --noEmit in the build script or...
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
Yes, I’ll get back to this hopefully over the next few weeks, and I’ll let you know.
false alarm! Using latest ts-migrate (0.1.26) and this command:
Seems to create proper @ts-expect-error comments if the
--sources
are set correctly…