Skip to content

Commit cdec1bc

Browse files
authored
Changes method option to be optional in type.
1 parent 16ab02b commit cdec1bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type NotificationArgs = {
1313
export type StartUploadArgs = {
1414
url: string,
1515
path: string,
16-
method: 'PUT' | 'POST',
16+
method?: 'PUT' | 'POST',
1717
// Optional, because raw is default
1818
type?: 'raw' | 'multipart',
1919
// This option is needed for multipart type

0 commit comments

Comments
 (0)