Skip to content

JSX: TS1127 for <>#</> #22012

@uhyo

Description

@uhyo

TypeScript Version: Version 2.8.0-dev.20180217

Search Terms: TS1127, jsx invalid character

Code

const elm = (<>#</>);

Expected behavior:
Compile with no error.

Actual behavior:
test.tsx(1,16): error TS1127: Invalid character.

Related Issues: #4207

Thanks.

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions