Skip to content

Change import syntax from typescript declaration#5559

Merged
Timer merged 1 commit intofacebook:masterfrom
brunolemos:typescript-import
Oct 24, 2018
Merged

Change import syntax from typescript declaration#5559
Timer merged 1 commit intofacebook:masterfrom
brunolemos:typescript-import

Conversation

@brunolemos
Copy link
Copy Markdown
Contributor

@brunolemos brunolemos commented Oct 24, 2018

It's not a syntax babel supports inside .ts files so we better use the supported syntax here

And it has to use * as React because we made allowSyntheticDefaultImports: true optional.

@Timer Timer added this to the 2.1 milestone Oct 24, 2018
@Timer Timer merged commit dc7cdf4 into facebook:master Oct 24, 2018
zmitry pushed a commit to zmitry/create-react-app that referenced this pull request Oct 29, 2018
nate770 pushed a commit to ONTW/create-react-app that referenced this pull request Oct 30, 2018
@lock lock Bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants