Skip to content

parser: error JSX-like type assertions and JSX-looking generics in .mts / .cts #15184

@sapphi-red

Description

@sapphi-red

TypeScript outputs an error when "JSX-like type assertions" / "JSX-looking generics" are used in .mts / .cts files.

Oxc playground (no error)

Related PRs in other projects:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions