Decorate all properties with type metadata in TypeScript #11861
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Suggestion
An idea for TypeScript
I'm working on a JSON Object-Mapper which would parse a JSON string and produce typed objects, i.e.
For this I need
design:type
metadata for all properties, but I see it's emitted only if a property is decorated (also a bogus decorator will do), e.g.It would be very useful to have a compiler option to enable the implicit metadata decoration for all
design:*
metadata, without the need of an additional decorator.The text was updated successfully, but these errors were encountered: