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
ts-node doesn't work with latest typescript 2.5 #360
Can you give some example code that will replicate this? Can you verify your TypeScript versions aren't out of sync (e.g. you installed something locally but you're using the local version)?
Activity
blakeembrey commentedon Jun 18, 2017
Can you give some example code that will replicate this? Can you verify your TypeScript versions aren't out of sync (e.g. you installed something locally but you're using the local version)?
cevek commentedon Jun 18, 2017
create file
1.tsxcreate file
tsconfig.json{ "compilerOptions": { "module": "commonjs", "target": "es5", "jsx": "react" } }And result is
cevek commentedon Jun 18, 2017
with typescript@2.4 works correctly
cevek commentedon Jun 18, 2017
I think its related to this merge microsoft/TypeScript#12336
blakeembrey commentedon Jun 18, 2017
Thanks for this! I'll have to look next week, but until then feel free to investigate yourself and/or submit a PR.
cevek commentedon Jun 19, 2017
Bug on the typescript side microsoft/TypeScript#16616
cevek commentedon Jun 20, 2017
PR #366
blakeembrey commentedon Jun 21, 2017
Closed with #366, cheers!