News for hackers. Stuff that matters.
Re:JavaScript for People Who Hate JavaScript by slackingoff2017 on Wednesday August 09, 2017 @01:19PM (#14971414)
Kind of maybe. See http://blog.wolksoftware.com/decorators-reflection-javascrip... for use of experimental reflection API.

Note that Typescript tries to follow JS to remain a superset that easily compiles down, and the metadata API is currently a stage II Ecma proposal so it's marked experimental.

It should be fairly easy to build a types casting method using that.

There are no comments on this comment yet.