From 8e490271badfbcb7ccf26f27cfbe1f48999383b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Mon, 8 Jan 2018 16:01:07 +0300 Subject: [PATCH] Fixed #277 --- src/components/fileupload/FileUpload.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/fileupload/FileUpload.d.ts b/src/components/fileupload/FileUpload.d.ts index 8121925ad7..4e7ae1c35a 100644 --- a/src/components/fileupload/FileUpload.d.ts +++ b/src/components/fileupload/FileUpload.d.ts @@ -19,8 +19,8 @@ interface FileUploadProps { chooseLabel?: string; uploadLabel?: string; cancelLabel?: string; - onBeforeUpload?(): void; - onBeforeSend?(): void; + onBeforeUpload?(e: { xhr: XMLHttpRequest, formData: any }): void; + onBeforeSend?(e: { xhr: XMLHttpRequest, formData: any }): void; onUpload?(e: {xhr: XMLHttpRequest, files: any}): void; onError?(e: {xhr: XMLHttpRequest, files: any}): void; onClear?(): void;