You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exposedField not set as a property on ClassMissingField, even though it should be via the parameter property. This is the minimal example I could find - it seems to need a private field with a destructuring assignment.
🙂 Expected behavior
exposedField should be set as a property on ClassMissingField using parameter properties.
The text was updated successfully, but these errors were encountered:
Bug Report
🔎 Search Terms
Parameter properties
Private fields
Class constructor
Destructuring assignment
🕗 Version & Regression Information
4.5.5
and4.6.2
4.6.0-dev.20220113
4.6.0-dev.20220114
,4.6.0-beta
and later (still broken on nightly)I think this means the breaking change was made in #29374.
⏯ Playground Link
https://www.typescriptlang.org/play?ts=4.6.0-dev.20220114#code/KYDwDg9gTgLgBAE2AMwIYFcA28DGnUDOBcAwvkQLICWRVAdgOYBiVwmCcA3gLABQcAuFGCoEEOpgCecAMRgoVAG6oYwFmwQAuOARgLGAbj59BcHON1R0OGNAAUJ04NRQG2znADWwSdsv0GOABfABpHJzgwdAAjTCocOFBIAmAEdXZtOnQAW2jgKHC4AEouQtM7D29fOBgACxoAOjkFZVV0jiC4AF44FwYio35BIOMhgUwIBjsSnjGnczoCCExgBompusbmpRU1VnYBssEFpZW1ybtNggakiBS0-YRDuZHeIKA
💻 Code
🙁 Actual behavior
exposedField
not set as a property onClassMissingField
, even though it should be via the parameter property. This is the minimal example I could find - it seems to need a private field with a destructuring assignment.🙂 Expected behavior
exposedField
should be set as a property onClassMissingField
using parameter properties.The text was updated successfully, but these errors were encountered: