Skip to content

Add a fixit for adding "jsx: true" to the tsconfig #31938

@orta

Description

@orta

Search Terms

fixit quick fix jsx flag tsconfig

Suggestion

Hitting "Quick Fix" in this error could offer to add the flag for you
{8446CBC8-3BA3-4F37-89F9-BD81DAEE9B26} png

Use Cases

Anyone starting a reactproject

Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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