Skip to content

Commit aa9bdb0

Browse files
Added missing PATCH method to Typescript definition file
1 parent 3ea8218 commit aa9bdb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ export interface AndroidApi {
507507
getSDCardApplicationDir(): Promise<string>;
508508
}
509509

510-
type Methods = "POST" | "GET" | "DELETE" | "PUT" | "post" | "get" | "delete" | "put";
510+
type Methods = "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "post" | "get" | "delete" | "put" | "patch";
511511

512512
/**
513513
* A declare class inherits Promise, it has extra method like progress, uploadProgress,

0 commit comments

Comments
 (0)