From 0fc9708e501f6eb126cdcc3d28aa89ebd3cb65ae Mon Sep 17 00:00:00 2001 From: Foncier Date: Thu, 7 Dec 2017 14:56:48 +0100 Subject: [PATCH] Add method option to the IFileUploadConfigFile interface --- types/ng-file-upload/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/ng-file-upload/index.d.ts b/types/ng-file-upload/index.d.ts index 85a055772b..263d75099e 100644 --- a/types/ng-file-upload/index.d.ts +++ b/types/ng-file-upload/index.d.ts @@ -268,6 +268,10 @@ declare module 'angular' { * @type {string} */ arrayKey?: string; + /** + * Add which HTTP method to use: 'POST' or 'PUT'(html5) + */ + method?: string; /** * Uploaded file size so far on the server * @type {string}