From 0d4433a174a2e9437351a011a29041c8d9ea76ca Mon Sep 17 00:00:00 2001 From: Jan Kuri Date: Sun, 4 Dec 2016 13:09:08 +0100 Subject: [PATCH] fix(beforeUpload): any type --- package.json | 2 +- src/services/ng2-uploader.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be32efb8..e3e24351 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ng2-uploader", "description": "Angular2 File Uploader", - "version": "1.5.4", + "version": "1.5.5", "license": "MIT", "main": "ng2-uploader.js", "typings": "ng2-uploader.d.ts", diff --git a/src/services/ng2-uploader.ts b/src/services/ng2-uploader.ts index bab5e10b..78549c0e 100644 --- a/src/services/ng2-uploader.ts +++ b/src/services/ng2-uploader.ts @@ -84,7 +84,7 @@ export class Ng2Uploader { _queue: any[] = []; _emitter: EventEmitter = new EventEmitter(); _previewEmitter: EventEmitter = new EventEmitter(); - _beforeEmitter: EventEmitter = new EventEmitter(); + _beforeEmitter: EventEmitter = new EventEmitter(); setOptions(options: any): void { this.url = options.url != null ? options.url : this.url;