-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
refactor(es/ast): Remove unused fields of TsPropertySignature
#8955
Conversation
|
2d4f3e9
to
ac2fe73
Compare
I suggest you review the two commits independently. The second one is just test expectation updates caused by the first commit. All code changes are in the first commit. |
- TsPropertySignature can not have params, type params, or an initializer. - TsGetterSignature can not be optional or readonly. - TsSetterSignature can not be optional or readonly. - TsMethodSignature can not be readonly.
be61f2e
to
d6bc36a
Compare
TsPropertySignature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- swc_ecma_ast --breaking
TsPropertySignature
TsPropertySignature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
Description:
TsPropertySignature can not have params, type params, or an initializer.
BREAKING CHANGE:
Yes. Any users looking into these fields should stop - they are always empty.