This guide is designed to help you get up and running with TypeScript in an Ember app.
This is not an introduction to TypeScript or Ember. Throughout this guide, we’ll link back to the TypeScript docs and the Ember Guides when there are specific concepts that we will not explain here but which are important for understanding what we’re covering!
- Once you have a good handle on the basics, you can dive into the guides to working with the APIs specific to Ember and Ember Data.
- If you're working with legacy (pre-Octane) Ember and TypeScript together, you should read the Legacy Guide.
What is TypeScript, and why should you adopt it?
TypeScript lets you build ambitious web applications with confidence—so it’s a perfect fit for Ember apps!
- Get rid of
undefined is not a functionand
null is not an objectonce and for all.
- Enjoy API docs… that are always up-to-date.
- Experience better developer productivity through top-notch editor support, including incredible autocomplete, guided refactorings, automatic imports, and more.