A Typed pluck: exploring TypeScript 2.1’s mapped types

One of underscore.js’s most useful methods is _.pluck. It takes an array of objects and “plucks” one property out of each, returning an……

Similar

Introduction to TypeScript

Historically, JavaScript has ended up as the main language for scripting web pages and apps on the Internet. In addition, it is now possible to use JavaScript on both the frontend and the backend… (more…)

Read more »

Adopting Flow and TypeScript

Lately we’ve been noticing a lot of NaN’s show up in our app. We search for the source and find the following code: We sigh to ourselves, and decide maybe it’s finally time to add a type checker. We… (more…)

Read more »