Skip to content

Playground: Ca not set JSX to None / disable #1505

@safareli

Description

@safareli

Actual behavior:
If you go to the playground, and in TS config you try to set JSX: to None, the page reloads and JSX: still is set to React. Tho setting JSX to ReactNative or Preserve works fine.

Expected behavior:
I'm expecting to be able to disable JSX in the playground so I can write :

const id = <A>(v:A):A => v

and not have to instead write

function id <A>(v:A):A {return v}

Metadata

Metadata

Assignees

No one assigned

    Labels

    PlaygroundIssues that affect the Playground

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions