News for hackers. Stuff that matters.
Re:Not Sucking at TypeScript: 3 Tips by Alexendoo on Saturday September 22, 2018 @02:15PM (#18047183)
I would recommend avoiding adding your own global types if you can avoid it, for example TypeScript has a full type definition for Array.prototype.find [1]. You can enable it without changing the target and breaking things by adding es2015 to lib in your tsconfig compilerOptions

[1] https://github.com/Microsoft/TypeScript/blob/5fb39769ada9ff7...

Re:Not Sucking at TypeScript: 3 Tips by thoughtspile on Saturday September 22, 2018 @06:06PM (#18048259)
Thanks, I reckoned there was a way to get it done but never found one! Can you also enable individual features, not the whole pack?