Skip to content

Commit 89e193f

Browse files
authored
Merge pull request #1169 from typed-ember/typecheck-out-of-the-box
2 parents 6b97fbd + 29724e2 commit 89e193f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

blueprint-files/ember-cli-typescript/__config_root__/config/environment.d.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ export default config;
22

33
/**
44
* Type declarations for
5-
* import config from './config/environment'
6-
*
7-
* For now these need to be managed by the developer
8-
* since different ember addons can materialize new entries.
5+
* import config from 'my-app/config/environment'
96
*/
107
declare const config: {
11-
environment: any;
8+
environment: string;
129
modulePrefix: string;
1310
podModulePrefix: string;
1411
locationType: string;
1512
rootURL: string;
13+
APP: Record<string, unknown>;
1614
};

ts/blueprints/ember-cli-typescript/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ module.exports = {
147147
{ name: 'ember-cli-typescript-blueprints', target: 'latest' },
148148
{ name: 'typescript', target: 'latest' },
149149
{ name: '@types/ember', target: 'latest' },
150-
{ name: '@types/rsvp', target: 'latest' },
151150
{ name: '@types/ember__test-helpers', target: 'latest' },
151+
{ name: '@types/ember-resolver', target: 'latest' },
152152
];
153153

154154
if (this._has('ember-data')) {

0 commit comments

Comments
 (0)