Declare your injections, or risk losing them!

When using Ember + TypeScript, the recommendation thus far for service injections has been to mark them as definite with ! (since they are not initialized in the class, but by the service injection decorator), e.g. import { inject as service } from '@ember/service'; export default class MyComponent extends Component…

Using ember-concurrency with TypeScript

ember-concurrency [https://github.com/machty/ember-concurrency] is an amazing tool for managing asynchronous tasks in Ember applications. Until recently, the TypeScript story for ember-concurrency has not been great with no official types, problems with type-safety, and reliance on a proof-of-concept only available in an alpha release. Recent work by Godfrey…

Using Yalc for Ember Engine/addon Development

When developing an Ember Engine (or other addon), you'll often want to test in a consuming host app that rebuilds when you make changes to the engine/addon. Yalc will let you do this in a way that handles dependency resolution and other concerns.…