ember-cli-typescript


TypeScript docs have moved! 🎉

This documentation is now hosted on the ember guides website here: Using TypeScript with Ember


ember-cli-typescript

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!

To get started, check out the instructions in Getting Started: Installation

  • If you're totally new to using TypeScript with Ember, start with TypeScript and Ember.

  • 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.

  • Looking for type-checking in Glimmer templates? Check out Glint.

Why TypeScript?

What is TypeScript, and why should you adopt it?

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. —typescriptlang.org

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 function and null is not an object once 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.

Last updated