-
Notifications
You must be signed in to change notification settings - Fork 25k
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(compiler): include public constructor paramters to class properties. #56315
Conversation
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.
Thanks for putting this together! I didn't really know you could pull in the compiler api from typescript like this until now.
This makes sense to me from what I'm able to glean on how the api works.
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.
This needs at least one test as well
0b8a2a4
to
3d52c76
Compare
…perties. Public properties declared in the constructor are part of the public API and we should extract them. Fixes angular#56310
3d52c76
to
f28f96c
Compare
@jelbourn Of course ! |
This PR was merged into the repository by commit e958fa8. The changes were merged into the following branches: main, 18.1.x |
Public properties declared in the constructor are part of the public API and we should extract them.
Fixes #56310