diff --git a/blueprint-files/ember-cli-typescript/__config_root__/config/environment.d.ts b/blueprint-files/ember-cli-typescript/__config_root__/config/environment.d.ts index 3252cc3de..a837adeb7 100644 --- a/blueprint-files/ember-cli-typescript/__config_root__/config/environment.d.ts +++ b/blueprint-files/ember-cli-typescript/__config_root__/config/environment.d.ts @@ -2,15 +2,13 @@ export default config; /** * Type declarations for - * import config from './config/environment' - * - * For now these need to be managed by the developer - * since different ember addons can materialize new entries. + * import config from 'my-app/config/environment' */ declare const config: { - environment: any; + environment: string; modulePrefix: string; podModulePrefix: string; locationType: string; rootURL: string; + APP: Record; }; diff --git a/ts/blueprints/ember-cli-typescript/index.js b/ts/blueprints/ember-cli-typescript/index.js index 3486cc408..5e5d65229 100644 --- a/ts/blueprints/ember-cli-typescript/index.js +++ b/ts/blueprints/ember-cli-typescript/index.js @@ -147,8 +147,8 @@ module.exports = { { name: 'ember-cli-typescript-blueprints', target: 'latest' }, { name: 'typescript', target: 'latest' }, { name: '@types/ember', target: 'latest' }, - { name: '@types/rsvp', target: 'latest' }, { name: '@types/ember__test-helpers', target: 'latest' }, + { name: '@types/ember-resolver', target: 'latest' }, ]; if (this._has('ember-data')) {