diff --git a/ng2-uploader.d.ts b/ng2-uploader.d.ts index 5cfa036a..5b28d552 100644 --- a/ng2-uploader.d.ts +++ b/ng2-uploader.d.ts @@ -1,4 +1,3 @@ -/// import { Ng2Uploader } from './src/services/ng2-uploader'; import { NgFileSelect } from './src/directives/ng-file-select'; import { NgFileDrop } from './src/directives/ng-file-drop'; diff --git a/ng2-uploader.ts b/ng2-uploader.ts index 704f757d..4189d07f 100644 --- a/ng2-uploader.ts +++ b/ng2-uploader.ts @@ -1,4 +1,3 @@ -/// import {Ng2Uploader} from './src/services/ng2-uploader'; import {NgFileSelect} from './src/directives/ng-file-select'; import {NgFileDrop} from './src/directives/ng-file-drop'; diff --git a/tsconfig.json b/tsconfig.json index 399d8b8f..04899786 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,10 @@ "sourceRoot": "/", "target": "es5" }, + "files": [ + "ng2-uploader.ts", + "node_modules/angular2/typings/browser.d.ts" + ], "exclude": [ "node_modules" ]