Hey I've been enjoying working with TypeScript lately, but when is this bug gonna be fixed: <a href="https://github.com/Microsoft/TypeScript/issues/11375" rel="nofollow">https://github.com/Microsoft/TypeScript/issues/11375</a>.<p>You basically can't implement iterators while using `strictNullChecks`, and it's been broken since at least October 2016 (!)<p>Every time I go to use TS for a personal project I check to see if this is fixed, and for almost two years the answer is no. I am dying here. Should I not be implementing iterators? Does no one use `strictNullChecks`?
"type hell" seems to be far worse than "dependency hell," where the open source type definitions you use can have minor inconsistencies with each other, many of which are out of your control, causing lots of useless type errors in any project with even medium complexity. This forces engineers to ignore type errors, defeating the purpose of Typescript entirely.<p>Has anyone had a truly pleasant experience with Typescript in a medium to large project?
Gotta love the sanity that TypeScript brings to web development, if not for TypeScript I'd rather write PHP over JS<p>For good measure I recently wrote a blog post on writing your first TypeScript+React application: <a href="https://charmeleon.github.io/post/react-typescript-tic-tac-toe/" rel="nofollow">https://charmeleon.github.io/post/react-typescript-tic-tac-t...</a>
I've been using TypeScript for around one year now in small to mid sized projects but I feel like I'm not using a lot of the language's features and best practices. Does someone know any good advanced courses (free or paid)?
I hope they will some day implement variadic types: <a href="https://github.com/Microsoft/TypeScript/issues/5453" rel="nofollow">https://github.com/Microsoft/TypeScript/issues/5453</a>. Also, the plan for a 3.0 release looks a bit underwhelming: <a href="https://github.com/Microsoft/TypeScript/wiki/Roadmap#30-july-2018" rel="nofollow">https://github.com/Microsoft/TypeScript/wiki/Roadmap#30-july...</a>. Why not call that 2.10?
I’m a fan of the “Generic type arguments in JSX elements” - ran into a case where I needed it a few months ago. They’ve always had a workaround, but this is more concise.
The only things that put me off about typescript are:<p>a) The lack of a proper 'is' keyword. The current behaviour around this is mental.<p>b) The unneeded complexity that the recent releases have brought to the typing system.
Maybe it's too early in the morning but i had a really hard time understanding the changes around keyof and mapped types and what it's good for. It felt very mathematically academic. Does anyone have real world examples where it's useful?