Skip to content
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

.js files are emitted as .jsx files with JSX.Preserve #6948

Closed
billti opened this issue Feb 7, 2016 · 1 comment
Closed

.js files are emitted as .jsx files with JSX.Preserve #6948

billti opened this issue Feb 7, 2016 · 1 comment
Assignees
Labels
Bug A bug in TypeScript Domain: JSX/TSX Relates to the JSX parser and emitter Fixed A PR has been merged for this issue

Comments

@billti
Copy link
Member

billti commented Feb 7, 2016

With the change to allow JSX syntax in JavaScript files by default ( #6562 ), the compiler now emits all JavaScript files with a .jsx extension if the compiler option "jsx" is set to "preserve".

@billti billti added Bug A bug in TypeScript Domain: JSX/TSX Relates to the JSX parser and emitter labels Feb 7, 2016
@billti billti self-assigned this Feb 7, 2016
@billti billti added this to the TypeScript 1.8.2 milestone Feb 7, 2016
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Feb 7, 2016
@billti
Copy link
Member Author

billti commented Feb 9, 2016

Fixed in master with #6961 .

@billti billti closed this as completed Feb 9, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: JSX/TSX Relates to the JSX parser and emitter Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants