Skip to content

Typescript development tooling section. Add lang="tsx" for typescript JSX support #602

Closed
@vutran6853

Description

@vutran6853

Hey there,

I'd like to share some feedback on Typescript Development Tooling

Issue: I see there code block example to set lang="ts". It would be great to also add "tsx" for TSX support. It allow developer aware they can use jsx inside setup function and let them know jsx is support within SPA. Without this flag, typescript complier throw error at jsx.

Mybe within code block to show both lang example:

# Typescript support 
<script lang="ts">
  ...
</script>

# Typscript JSX support
<script lang="tsx">
  ...
</script>

Thanks for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions