mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Merge pull request #22029 from Airboy/patch-3
Add method option to the IFileUploadConfigFile interface
This commit is contained in:
Vendored
+4
@@ -253,6 +253,10 @@ declare module 'angular' {
|
||||
* @type {string}
|
||||
*/
|
||||
url: string;
|
||||
/**
|
||||
* Add which HTTP method to use: 'POST' or 'PUT' (html5)
|
||||
*/
|
||||
method: string;
|
||||
/**
|
||||
* This is to accommodate server implementations expecting nested data object keys in .key or [key] format.
|
||||
* Example: data: {rec: {name: 'N', pic: file}} sent as: rec[name] -> N, rec[pic] -> file
|
||||
|
||||
Reference in New Issue
Block a user