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

Add support for parsing declare TS class fields #537

Merged
merged 1 commit into from
May 18, 2020

Conversation

alangpierce
Copy link
Owner

Fixes #536

We already completely remove uninitialized class fields for now, which agrees
with the declare behavior, so the only change needed here was to parse the
syntax without crashing. In the future, when we remove the class fields
transform, we'll need to distinguish declare vs non-declare fields.

Fixes #536

We already completely remove uninitialized class fields for now, which agrees
with the `declare` behavior, so the only change needed here was to parse the
syntax without crashing. In the future, when we remove the class fields
transform, we'll need to distinguish declare vs non-declare fields.
@alangpierce alangpierce merged commit a4a596e into master May 18, 2020
@alangpierce alangpierce deleted the add-declare-class-fields branch May 18, 2020 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for declare syntax for TS class fields
1 participant