TypeScript type inference with const assertions and the infer keyword

TypeScript works in a way that automates a lot of the work for us. We don’t have to write types every time, because the compiler works hard to derive them from the context. In this article, we look into more complex cases that involve the infer keyword an… Read more

Similar

Top Things to Know about TypeScript

TypeScript is a superset of JavaScript that provides typed nature to your code. TypeScript can be used for cross-browser development and is an open source project. Bipin Joshi shares a quick overview of the top 10 features of this new scripting language. (more…)

Read more »