Skip to content

Typescript: Incorrectly detected comments inside JSX cause errors #1990

@crohlfs

Description

@crohlfs
var example1 = <div>
	https://test
</div>;

var example2 = <div>
	/*test*/
</div>;

Reproductions
With //
With /*

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions