diff --git a/src/directives/ng-file-drop.ts b/src/directives/ng-file-drop.ts index 21a4a966..8861ba9e 100644 --- a/src/directives/ng-file-drop.ts +++ b/src/directives/ng-file-drop.ts @@ -11,7 +11,7 @@ import { SimpleChange } from '@angular/core'; import { NgUploaderService } from '../services/ngx-uploader'; -import { INgUploaderOptions, NgUploaderOptions, UploadedFile, UploadRejected } from '../classes'; +import { NgUploaderOptions, UploadedFile, UploadRejected } from '../classes'; @Directive({ selector: '[ngFileDrop]' diff --git a/src/directives/ng-file-select.ts b/src/directives/ng-file-select.ts index 5ccc1505..30639cbf 100644 --- a/src/directives/ng-file-select.ts +++ b/src/directives/ng-file-select.ts @@ -10,7 +10,7 @@ import { SimpleChange } from '@angular/core'; import { NgUploaderService } from '../services/ngx-uploader'; -import { INgUploaderOptions, NgUploaderOptions, UploadedFile, UploadRejected } from '../classes'; +import { NgUploaderOptions, UploadedFile, UploadRejected } from '../classes'; @Directive({ selector: '[ngFileSelect]' diff --git a/src/services/ngx-uploader.ts b/src/services/ngx-uploader.ts index 4cd3bee9..956c8e0c 100644 --- a/src/services/ngx-uploader.ts +++ b/src/services/ngx-uploader.ts @@ -1,7 +1,6 @@ -import { EventEmitter, Injectable, OnChanges, Provider } from '@angular/core'; +import { EventEmitter, Injectable, Provider } from '@angular/core'; import { NgUploaderOptions } from '../classes/ng-uploader-options.class'; import { UploadedFile } from '../classes/uploaded-file.class'; -import { UploadRejected } from '../classes/upload-rejected.class'; @Injectable() export class NgUploaderService { diff --git a/tsconfig.json b/tsconfig.json index cab9b68e..a0bad2fb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "sourceMap": false, "noEmitHelpers": false, "noImplicitAny": true, + "noUnusedLocals": true, "declaration": true, "strictNullChecks": true, "skipLibCheck": true,