Skip to content

Commit

Permalink
few configuration adjustments for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiip committed Mar 30, 2016
1 parent 76e8744 commit f28c18f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion generators/app/templates/src/app/_index.module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../../<%- props.paths.tmp %>/typings/tsd.d.ts" />
/// <reference path="../../typings/main.d.ts" />

import { config } from './index.config';
<% if (props.router.key === 'new-router') { -%>
Expand Down
2 changes: 1 addition & 1 deletion generators/app/templates/src/app/main/_main.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class MainController {
activate($timeout: angular.ITimeoutService) {
this.getWebDevTec();

$timeout(()=> {
$timeout(() => {
this.classAnimation = 'rubberBand';
}, 4000);
}
Expand Down
19 changes: 10 additions & 9 deletions generators/app/templates/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"compileOnSave": false,
"compilerOptions": {
"module": "commonjs",
"target": "es5"
},
"exclude": [
"bower_components",
"node_modules"
]
"compileOnSave": false,
"compilerOptions": {
"module": "commonjs",
"target": "es5"
},
"exclude": [
"bower_components",
"node_modules",
"typings"
]
}

0 comments on commit f28c18f

Please sign in to comment.