Skip to content

Commit

Permalink
Merge pull request #112 from maxschmeling/patch-2
Browse files Browse the repository at this point in the history
Adds "method" to StartUploadArgs type definition.
  • Loading branch information
StevePotter committed Nov 28, 2018
2 parents 91e5d75 + cdec1bc commit 9ddf916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export type NotificationArgs = {
export type StartUploadArgs = {
url: string,
path: string,
method?: 'PUT' | 'POST',
// Optional, because raw is default
type?: 'raw' | 'multipart',
// This option is needed for multipart type
Expand Down

0 comments on commit 9ddf916

Please sign in to comment.