🔍 Search Terms
explicit .ts file extension
✅ Viability Checklist
⭐ Suggestion
Add a config option to write explicit .ts file extension in typescript project, and let the compiled file to have .js extension.
📃 Motivating Example
It feels wrong to import .ts file as .js file in typescript project.
💻 Use Cases
-
What do you want to use this for?
I want to write explicit .ts file extension in typescript project, and let the compiled file to have .js extension.
-
What shortcomings exist with current approaches?
It feels wrong to import .ts file as .js file in typescript project.
-
What workarounds are you using in the meantime?
Write .js file extension in typescript project.