-
Notifications
You must be signed in to change notification settings - Fork 13.3k
preset class properties to undefined #12437
Copy link
Copy link
Closed
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeES NextNew featurers for ECMAScript (a.k.a. ESNext)New featurers for ECMAScript (a.k.a. ESNext)SuggestionAn idea for TypeScriptAn idea for TypeScriptWaiting for TC39Unactionable until TC39 reaches some conclusionUnactionable until TC39 reaches some conclusion
Metadata
Metadata
Assignees
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeES NextNew featurers for ECMAScript (a.k.a. ESNext)New featurers for ECMAScript (a.k.a. ESNext)SuggestionAn idea for TypeScriptAn idea for TypeScriptWaiting for TC39Unactionable until TC39 reaches some conclusionUnactionable until TC39 reaches some conclusion
TypeScript Version: 2.1.1
Code
Expected behavior:
Actual behavior:
class PartialPolicySearchIten { }
The problem comes when using Reflection it can't find the properties. I would expected that the properties exists as i'm redefining them. Otherwise their very little point is declaring properties of a class.