-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
ts-node doesn't work with latest typescript 2.5 #360
Comments
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)? |
create file import * as React from 'react';
<div className="foo"></div> create file {
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"jsx": "react"
}
}
And result is
|
with [email protected] works correctly |
I think its related to this merge microsoft/TypeScript#12336 |
Thanks for this! I'll have to look next week, but until then feel free to investigate yourself and/or submit a PR. |
Bug on the typescript side microsoft/TypeScript#16616 |
PR #366 |
Closed with #366, cheers! |
ts-node 1.tsx
tsc
works without problemsThe text was updated successfully, but these errors were encountered: