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

Parse declare modifier around accessibility modifiers #11146

Merged
merged 4 commits into from Feb 21, 2020

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Feb 15, 2020

Q                       A
Fixed Issues? Fixes #11145
Patch: Bug Fix? Yes
Tests Added + Pass? Yes
License MIT

In this PR we parse the declare modifier before/after the accessibility modifiers public/private/protected. The tsParseModifiers now checks against the modified node instead of the modifier temporary object, so we can check across different runs.

This PR is a follow-up to #10484.

@JLHwung JLHwung added PR: Bug Fix 🐛 A type of pull request used for our changelog categories pkg: parser area: typescript labels Feb 15, 2020
@JLHwung JLHwung changed the title Parse declare modifiers around accessibility modifiers Parse declare modifier around accessibility modifiers Feb 16, 2020
@JLHwung JLHwung merged commit 223cee7 into babel:master Feb 21, 2020
@JLHwung JLHwung deleted the fix-11145 branch February 21, 2020 04:29
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label May 23, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: typescript outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple Typescript: declare static property errors on build (but static declare works)
4 participants