fix(zone.js): error in Safari, Added Typings (#221)

* Changed tsconfig.json to match tsconfig schema

* Change package.json to include all necessary packages for this package

* Added type for EventEmitter

* Fix for zone.js error "More tasks executed then were scheduled" in Safari, explicit call of NgZone not required in zone.js ^0.6.12

* Added type information for methods in FileUploader

* Added type information for methods in FileItem

* Added type information for methods in FileUploader

* Removed codelyzer / eslint according to PR valor-software/ng2-file-upload#221
This commit was merged in pull request #221.
This commit is contained in:
Marvin Scharle
2016-06-02 15:17:25 +02:00
committed by Dmitriy Shekhovtsov
parent ec1e5ae556
commit db77e89235
5 changed files with 73 additions and 74 deletions

View File

@@ -6,7 +6,7 @@ import { FileUploader } from './file-uploader.class';
export class FileDropDirective {
@Input() public uploader:FileUploader;
@Output() public fileOver:EventEmitter<any> = new EventEmitter();
@Output() public onFileDrop:EventEmitter<File[]> = new EventEmitter();
@Output() public onFileDrop:EventEmitter<File[]> = new EventEmitter<File[]>();
private element:ElementRef;
public constructor(element:ElementRef) {