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
Design-type metadata such as design:type, design:paramtypes and design:returntype are great to build modern JavaScript frameworks. It would be very useful to also have a design:generics metadata to keep track of generic types, e.g.
classFoo{}classBar{}classBaz{map: Map<Foo,Bar>;}
would transpile to
// ... Foo and Bar functionsvarBaz=(function(){functionBaz(){}__decorate([__metadata('design:type',Map),__metadata('design:generics',[Foo,Bar]),],Baz.prototype,"map",void0);returnBaz;}());
The text was updated successfully, but these errors were encountered:
The issue of type serialization/"reflection" has been discussed multiple times (#2902, #2577, #3060). we already have #3628 to track this discussion; so i suggest moving this proposal to that issue.
Design-type metadata such as
design:type
,design:paramtypes
anddesign:returntype
are great to build modern JavaScript frameworks. It would be very useful to also have adesign:generics
metadata to keep track of generic types, e.g.would transpile to
The text was updated successfully, but these errors were encountered: