kimroen / ember-cli-document-title

Adding document title behaviour to your ember app
MIT License
216 stars 61 forks source link

TypeScript ambient type information #65

Open mike-north opened 6 years ago

mike-north commented 6 years ago

Posting here for others to use.

Create a file in your project with the following contents

app/ember-cli-document-title.d.ts
declare module 'ember' {
  namespace Ember {
    interface Route {
      title: string;
    }
  }
}