From 1b608fcc8a5350cd461d0f711026ca64f9cf65be Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Mon, 14 Nov 2022 23:42:33 -0800 Subject: [PATCH] Add missing type --- packages/bun-types/bun.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts index 4098cca4d9..252e500557 100644 --- a/packages/bun-types/bun.d.ts +++ b/packages/bun-types/bun.d.ts @@ -2390,6 +2390,11 @@ declare module "bun" { */ unref(): void; + /** + * Flush any buffered data to the socket + */ + flush(): void; + /** * Reset the socket's callbacks. This is useful with `bun --hot` to facilitate hot reloading. *