Hands-OnIn this TypeScript tutorial we explore the significance of platform considerations when building a TypeScript application. We will discuss various JavaScript engines, configure the TypeScript compiler, enable strict type checking, and implement best practices for our development workflow using Visual Studio Code. We also cover TypeScript’s watch mode and how to write npm scripts. Lastly, we dive into potential issues that may arise when using TypeScript globally and how to define your VS Code’s TypeScript version.
Continue reading →Best PracticesIn this tutorial Benny shows you simple techniques on how to improve your switch statements. Using the tips and tricks from the video, you will never miss a switch case again. You will also learn how to fix error TS2322, TS2366 and TS7030.
Continue reading →Hands-OnSetting up a TypeScript project with Node.js takes only a few minutes. Here is how to do it the fastest way by just using npm
and yarn
.
Continue reading →New FeaturesTypeScript 3.8 introduces a new functionality which is called top-level await. It allows developers to use the await
keyword without a surrounding async
function at the top level of a module.
Continue reading →