Skip to content

Commit

Permalink
refactor(types): protectedResourceRequest method argument is just a s…
Browse files Browse the repository at this point in the history
…tring
  • Loading branch information
panva committed Mar 29, 2024
1 parent 4226d65 commit a15d76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,7 @@ export interface ProtectedResourceRequestOptions
*/
export async function protectedResourceRequest(
accessToken: string,
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | string,
method: string,
url: URL,
headers?: Headers,
body?:
Expand Down

0 comments on commit a15d76c

Please sign in to comment.