Skip to content

Commit f864386

Browse files
committed
Fix some TS
1 parent 736410c commit f864386

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

files/demo-app/app.gts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ class Router extends EmberRouter {
99

1010
export class App extends EmberApp {
1111
/**
12-
* Any services or anything from the addon that needs to be in the app-tree registry
13-
* will need to be manually specified here.
14-
*
15-
* Techniques to avoid needing this:
16-
* - private services
17-
* - require the consuming app import and configure themselves
18-
* (which is what we're emulating here)
19-
*/
12+
* Any services or anything from the addon that needs to be in the app-tree registry
13+
* will need to be manually specified here.
14+
*
15+
* Techniques to avoid needing this:
16+
* - private services
17+
* - require the consuming app import and configure themselves
18+
* (which is what we're emulating here)
19+
*/
2020
modules = {
2121
'./router': Router,
2222
'./services/page-title': PageTitleService,
23-
/**
24-
* NOTE: this glob will import everything matching the glob,
25-
* and includes non-services in the services directory.
26-
*/
23+
/**
24+
* NOTE: this glob will import everything matching the glob,
25+
* and includes non-services in the services directory.
26+
*/
2727
...import.meta.glob('./services/**/*', { eager: true }),
2828
/**
2929
* These imports are not magic, but we do require that all entries in the
@@ -35,4 +35,4 @@ export class App extends EmberApp {
3535
};
3636
}
3737

38-
Router.map(function() { });
38+
Router.map(function () {});

files/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
{
77
"extends": "@ember/app-tsconfig",
8-
"include": ["src/**/*", "tests/**/*", "unpublished-development-types/**/*"],
8+
"include": ["src/**/*", "tests/**/*", "unpublished-development-types/**/*", "demo-app/**/*"],
99
"compilerOptions": {
1010
"rootDir": ".",
1111
"types": [

0 commit comments

Comments
 (0)