Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure to update scope for page export declaration #9115

Merged
merged 4 commits into from
Oct 18, 2019

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Oct 17, 2019

This fixes a warning from TypeScript's plugin that the declaration is missing from babel's scope

Copy link
Member

@Timer Timer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The babel docs look like this is way easier by using the insert fn's return value. I don't think we need to be traversing here.

See babel/babel@ba2c0f7 as an example.

@Timer Timer added this to the 9.1.2 milestone Oct 18, 2019
@ijjk
Copy link
Member Author

ijjk commented Oct 18, 2019

Updated to use replaceWithMultiple and use the returned declaration path, nice find 👍

@ijjk ijjk requested a review from Timer October 18, 2019 14:29
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.

2 participants