Skip to content

[Feature][plugin-playground]: Support tsx #1324

Open
@SoonIter

Description

What problem does this feature solve?

At present, we recommend using jsx, and there are some bugs in tsx that cause some syntax errors in monaco.

image

img_v3_02dm_7d4624f6-0f40-4068-95f4-e87bd0d6a87g

What does the proposed API look like?

  1. syntax highlight for typescript-react
  2. remove type prompts just like antd, for reducing bundle size
image

Related

https://gist.github.com/RoboPhred/f767bea5cbc972e04155a625dc11da11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions