TypeScript 2.0: More Literal Types

TypeScript 2.0 introduces more literal types. In addition to string literal types, we can now declare boolean, numeric, and enum literal types.

Similar

TypeScript 4.5 Beta

Today we are excited to announce the beta release of TypeScript 4.5! To get started using the beta, you can get it through NuGet, or use npm with the following command: npm install typescript@beta You can also get editor support by Downloading for Visual ... (more…)

Read more »

Svelte SPA with TypeScript, Routes and SCSS

svelte is one of the newer JavaScript-Frameworks out there. Although I do not tend to jump on the hype train, the “compile time” approach svelte uses is really promising referring to performance and size. Here is how to start a project with TypeScript, Ro... (more…)

Read more »