News for hackers. Stuff that matters.
Re:Announcing TypeScript 1.5 by Keats on Monday July 20, 2015 @03:50PM (#9918551)
It actually didn't work with 1.5 beta, can't remember the exact failure. This function actually returns an object depending on the single param, an enum member. All the objects are extending a main type with a couples different properties on each, it's cleaner than having a switch everywhere i want to instantiate one ofthose

There are no comments on this comment yet.