This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 Rome check: Cannot find ts files imported as js files #1632
Labels
S-To triage
Status: user report of a possible bug that needs to be triaged
What happened?
a.ts
andb.ts
in the same folderb.ts
as a js file inb.ts
rome check
.Rome check outputs
Cannot find ./a.js from b.ts
Expected result
Rome should identify js imports as ts imports if the js file does not exist.
The use of js extensions in imports is supported by TypeScript and enables direct execution of esm files in modern versions of nodejs.
Rome version
10.0.0
Configuration file of your project
Code of Conduct
The text was updated successfully, but these errors were encountered: