aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/bun-types/bun.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts
index 1a23d7326..c392469e0 100644
--- a/packages/bun-types/bun.d.ts
+++ b/packages/bun-types/bun.d.ts
@@ -88,8 +88,8 @@ declare module "bun" {
* });
* ```
*/
- export function serve<ServeOoptions extends Serve<any>>(
- options: ServeOoptions,
+ export function serve<WebSocketDataType>(
+ options: Serve<WebSocketDataType>,
): Server;
/**