Added type for EventEmitter

This commit is contained in:
marvinscharle
2016-05-24 23:05:32 +02:00
parent 026e0edfae
commit 893c26e980

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) {