You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
es6 imports translated to modules even when output set to es6 #643
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:
import TabControl from "../../components/tabs/tab_control";
is transpiled to
var tab_control_1 = require("../../components/tabs/tab_control");
The worst part is, that it breaks the TSX transpilation as for example
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 ;((
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.
Activity
tomitrescak commentedon Oct 5, 2015
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.
patroza commentedon Oct 5, 2015
I can confirm this issue
tomitrescak commentedon Oct 5, 2015
Do now roll back to 7.1.1 which has a previous version of typescript. Seems like a TS issue.
basarat commentedon Oct 6, 2015
TypeScript issue report : microsoft/TypeScript#5110
basarat commentedon Oct 6, 2015
Reverted for now till microsoft/TypeScript#5110 is resolved : https://github.com/TypeStrong/atom-typescript/releases/tag/v7.1.4 🌹
chore(typescript) update to latest
basarat commentedon Oct 30, 2015
Fixed : https://github.com/TypeStrong/atom-typescript/releases/tag/v7.7.0 User action required 🌹
basarat commentedon Oct 30, 2015
Tsconfig / TypeScript : for people using
"target" : "es6"they should now also use"module": "es6"in tsconfigcompilerOptionsRevert "chore(typescript) update to latest"
feat(tsconfig) support the latest module system keys