Skip to content

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

@billti

Description

@billti

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".

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: JSX/TSXRelates to the JSX parser and emitterFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions