Optional fields in TypeScript classes are not accessible via the getOwnPropertyNames and Object.keys methods.
Is there a way to collect the optional field names of a class in TypeScript?
Thank you.
Optional fields in TypeScript classes are not accessible via the getOwnPropertyNames and Object.keys methods.
Is there a way to collect the optional field names of a class in TypeScript?
Thank you.