diff options
author | 2022-11-14 23:42:33 -0800 | |
---|---|---|
committer | 2022-11-15 00:12:34 -0800 | |
commit | 1b608fcc8a5350cd461d0f711026ca64f9cf65be (patch) | |
tree | fcc163a424e8af46825050150c16e00b2d140c8b | |
parent | c4cf38601be0a73bb6db2f0b2d31fd3e9270fbdc (diff) | |
download | bun-1b608fcc8a5350cd461d0f711026ca64f9cf65be.tar.gz bun-1b608fcc8a5350cd461d0f711026ca64f9cf65be.tar.zst bun-1b608fcc8a5350cd461d0f711026ca64f9cf65be.zip |
Add missing type
-rw-r--r-- | packages/bun-types/bun.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts index 4098cca4d..252e50055 100644 --- a/packages/bun-types/bun.d.ts +++ b/packages/bun-types/bun.d.ts @@ -2391,6 +2391,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. * * This will apply to all sockets from the same {@link Listener}. it is per socket only for {@link Bun.connect}. |