Skip to content

--noUnusedLocals doesn't consider React to be "used" when using JSX files #10312

Description

@bartosz-k

TypeScript Version: 2.1.0-dev.20160723

... because it complains that React is declared but never used. It doesn't understand JSX transformations apparently.

Metadata

Metadata

Assignees

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