Importing types doesn't trigger an error in checkJs #22159
Labels
Bug
A bug in TypeScript
Domain: JavaScript
The issue relates to JavaScript specifically
Effort: Casual
Good issue if you're already used to contributing to the codebase. Harder than "good first issue".
Fix Available
A PR has been opened for this issue
Help Wanted
You can do this
Milestone
Expected: Error: Types cannot be imported in a JavaScript file.
Actual: No error.
The text was updated successfully, but these errors were encountered: