Skip to content

Commit

Permalink
fix(jsr): explicit return types
Browse files Browse the repository at this point in the history
  • Loading branch information
fzn0x committed Jul 15, 2024
1 parent cc6a113 commit 245b282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/create-http-method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const createHTTPMethod = (
options: RequestOptions = Object.create(null),
data: { [key: string]: unknown } = Object.create(null),
initOptions?: InitOptions
) => {
): Promise<[Error | null, unknown]> => {
if (options.initOptions) {
initOptions = options.initOptions
}
Expand Down

0 comments on commit 245b282

Please sign in to comment.