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

jsx:"preserve" + allowJs converts js to jsx #6957

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

jsx:"preserve" + allowJs converts js to jsx #6957

testerez opened this issue Feb 7, 2016 · 1 comment
Labels
Duplicate An existing issue was already created

Comments

@testerez
Copy link

testerez commented Feb 7, 2016

When transpiling js files with the new allowJs param and jsx:"preserve", all js files are output with jsx extention. Here is my tsconfig.json:

{
    "compilerOptions": {
        "module": "es2015",
        "allowJs": true,
        "target": "es2015",
        "jsx": "preserve"
    }
}
@billti
Copy link
Member

billti commented Feb 7, 2016

Duplicate of #6948 . (And fixed with #6949)

@billti billti closed this as completed Feb 7, 2016
@mhegazy mhegazy added the Duplicate An existing issue was already created label Feb 7, 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
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants