Technical requirements
We will use the following technologies in this chapter:
- Browser: A modern browser such as Google Chrome.
- TypeScript Playground: This is a website at https://www.typescriptlang.org/play/ that allows you to play around with and understand the features of TypeScript without installing it.
- CodeSandbox: We’ll briefly use this online tool to explore JavaScript’s type system. This can be found at https://codesandbox.io/.
- Visual Studio Code: We’ll need an editor to experience TypeScript’s benefits and explore the TypeScript compiler. This one can be installed from https://code.visualstudio.com/. Other editors that could be used can be found at https://github.com/Microsoft/TypeScript/wiki/TypeScript-Editor-Support.
- Node.js and npm: TypeScript is dependent on these pieces of software. You can install them from https://nodejs.org/en/download/.
All the code snippets in this chapter can be found online at https...