Replies: 1 comment 1 reply
-
This seems to be more like a bug. Can you report it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently
useImportExtensions
rule proposed fix uses a real file extension, which in case of TypeScript is ".ts". This is not correct.See this discussion:
https://stackoverflow.com/questions/62619058/appending-js-extension-on-relative-import-statements-during-typescript-compilat
Specifically this comment from a person from TS team:
"TS does not re-write import paths. This something the TS team has been adamant about it. Write the paths that work at runtime, and if needed configure ts to make those paths work. ( in this case no configuration is needed)"
Beta Was this translation helpful? Give feedback.
All reactions