mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
types: clarified parameter name (#14209)
This commit is contained in:
2
packages/bun-types/bun.d.ts
vendored
2
packages/bun-types/bun.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user