Skip to content

Commit 87adbfe

Browse files
authored
Merge pull request RonRadtke#15 from rafalolszewski94/fix-missing-patch-method
Added missing PATCH method to Typescript definition file
2 parents 01ffb6d + aa9bdb0 commit 87adbfe

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
@@ -531,7 +531,7 @@ export interface AndroidApi {
531531
getSDCardApplicationDir(): Promise<string>;
532532
}
533533

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

536536
/**
537537
* A declare class inherits Promise, it has extra method like progress, uploadProgress,

0 commit comments

Comments
 (0)