Skip to content

Commit

Permalink
types: clarified parameter name (#14209)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjomble authored Sep 27, 2024
1 parent 392a58b commit 89fc3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bun-types/bun.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2282,7 +2282,7 @@ declare module "bun" {
*/
development?: boolean;

error?: (this: Server, request: ErrorLike) => Response | Promise<Response> | undefined | Promise<undefined>;
error?: (this: Server, error: ErrorLike) => Response | Promise<Response> | undefined | Promise<undefined>;

/**
* Uniquely identify a server instance with an ID
Expand Down

0 comments on commit 89fc3ef

Please sign in to comment.