Skip to content

Commit f28c18f

Browse files
committed
few configuration adjustments for typescript
1 parent 76e8744 commit f28c18f

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

generators/app/templates/src/app/_index.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path="../../<%- props.paths.tmp %>/typings/tsd.d.ts" />
1+
/// <reference path="../../typings/main.d.ts" />
22

33
import { config } from './index.config';
44
<% if (props.router.key === 'new-router') { -%>

generators/app/templates/src/app/main/_main.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class MainController {
2121
activate($timeout: angular.ITimeoutService) {
2222
this.getWebDevTec();
2323

24-
$timeout(()=> {
24+
$timeout(() => {
2525
this.classAnimation = 'rubberBand';
2626
}, 4000);
2727
}
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2-
"compileOnSave": false,
3-
"compilerOptions": {
4-
"module": "commonjs",
5-
"target": "es5"
6-
},
7-
"exclude": [
8-
"bower_components",
9-
"node_modules"
10-
]
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"module": "commonjs",
5+
"target": "es5"
6+
},
7+
"exclude": [
8+
"bower_components",
9+
"node_modules",
10+
"typings"
11+
]
1112
}

0 commit comments

Comments
 (0)