Re:JavaScript libraries should be written in TypeScript
by emodendroket on Wednesday March 16, 2016 @10:27AM
(#11297547)
Well the classes are converted into functions and it adds members to the prototypes, right? Or is that ES5 only?
[ Parent
| on HN ]
Re:JavaScript libraries should be written in TypeScript
by boredpudding on Wednesday March 16, 2016 @10:30AM
(#11297580)
What you mean is indeed ES5 only. ES6 has classes so it doesn't need to convert anything.
Re:JavaScript libraries should be written in TypeScript
by emodendroket on Wednesday March 16, 2016 @10:38AM
(#11297650)
Oh. Cool. I didn't know that.