-
Notifications
You must be signed in to change notification settings - Fork 202
es6 imports translated to modules even when output set to es6 #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks to the description you left in releases, I've found out that this happens from version 7.1.2 in which you have updated typescript to the latest version. I have also left a comment within their issues. |
I can confirm this issue |
Do now roll back to 7.1.1 which has a previous version of typescript. Seems like a TS issue. |
TypeScript issue report : microsoft/TypeScript#5110 |
Reverted for now till microsoft/TypeScript#5110 is resolved : https://github.com/TypeStrong/atom-typescript/releases/tag/v7.1.4 🌹 |
closes #663 refs microsoft/TypeScript#5393 refs #643 @tomitrescak hopefully this doesn't break your code. If it does a code sample would be great 🌹
Fixed : https://github.com/TypeStrong/atom-typescript/releases/tag/v7.7.0 User action required 🌹 |
Tsconfig / TypeScript : for people using |
refs microsoft/TypeScript#5110 closes TypeStrong/atom-typescript#643 This reverts commit 9e62b95.
Hi
Up until latest update my es6 imports were left the way they was when transpilig to es6.
From the latest update now they are transpiled to the module representation.
For example:
is transpiled to
The worst part is, that it breaks the TSX transpilation as for example
is transpiled to:
Note how the closing tag is not transpiled.
I am sure that this is bug in Microsoft transpilation, but can the transpilation of import statements be disabled? Up until today all was working well ... now none of my TS project runs ;((
For completeness, here is my tsconfig
The text was updated successfully, but these errors were encountered: