types: clarified parameter name (#14209)

This commit is contained in:
Andres Kalle
2024-09-27 12:09:37 +03:00
committed by GitHub
parent 392a58b0ed
commit 89fc3ef34d

View File

@@ -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