How To loop or get names and values of Enums in TypeScript

To get the names and values of Enums in typescript,we can loop through the enum object using for loop. Read more

Similar

Gatsby TypeScript Support

Description 🎉We are working on supporting TypeScript as a first class citizen within Gatsby 🎉 We already have the gatsby-plugin-typescript plugin that adds compilation support for .ts(x) files. We&... (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 »