Skip to content

Tag 'react' import as used if it exists when targeting --jsx preserve#6290

Merged
RyanCavanaugh merged 3 commits into
microsoft:masterfrom
RyanCavanaugh:fix5865
Jan 4, 2016
Merged

Tag 'react' import as used if it exists when targeting --jsx preserve#6290
RyanCavanaugh merged 3 commits into
microsoft:masterfrom
RyanCavanaugh:fix5865

Conversation

@RyanCavanaugh
Copy link
Copy Markdown
Member

Fixes #5865

@DanielRosenwasser
Copy link
Copy Markdown
Member

Do we have a test for when react is imported but no JSX element is used?

@RyanCavanaugh
Copy link
Copy Markdown
Member Author

Added test tsPreserveEmit3

@DanielRosenwasser
Copy link
Copy Markdown
Member

👍

RyanCavanaugh added a commit that referenced this pull request Jan 4, 2016
Tag 'react' import as used if it exists when targeting --jsx preserve
@RyanCavanaugh RyanCavanaugh merged commit 0debd2b into microsoft:master Jan 4, 2016
@RyanCavanaugh RyanCavanaugh deleted the fix5865 branch January 4, 2016 15:47
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants