Skip to content

Commit

Permalink
Reference angular2/typings/browser.d.ts using tsconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
tan9 committed Apr 20, 2016
1 parent 509cbfe commit e1ab6dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion ng2-uploader.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference path="node_modules/angular2/typings/browser.d.ts" />
import { Ng2Uploader } from './src/services/ng2-uploader';
import { NgFileSelect } from './src/directives/ng-file-select';
import { NgFileDrop } from './src/directives/ng-file-drop';
Expand Down
1 change: 0 additions & 1 deletion ng2-uploader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference path="node_modules/angular2/typings/browser.d.ts" />
import {Ng2Uploader} from './src/services/ng2-uploader';
import {NgFileSelect} from './src/directives/ng-file-select';
import {NgFileDrop} from './src/directives/ng-file-drop';
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"sourceRoot": "/",
"target": "es5"
},
"files": [
"ng2-uploader.ts",
"node_modules/angular2/typings/browser.d.ts"
],
"exclude": [
"node_modules"
]
Expand Down

0 comments on commit e1ab6dc

Please sign in to comment.