bun-types 1.1.21-canary.20240725T140457 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bun.d.ts +2 -2
- package/package.json +1 -1
package/bun.d.ts
CHANGED
|
@@ -4002,7 +4002,7 @@ declare module "bun" {
|
|
|
4002
4002
|
*/
|
|
4003
4003
|
const isMainThread: boolean;
|
|
4004
4004
|
|
|
4005
|
-
interface Socket<Data = undefined> {
|
|
4005
|
+
interface Socket<Data = undefined> extends Disposable {
|
|
4006
4006
|
/**
|
|
4007
4007
|
* Write `data` to the socket
|
|
4008
4008
|
*
|
|
@@ -4296,7 +4296,7 @@ declare module "bun" {
|
|
|
4296
4296
|
setMaxSendFragment(size: number): boolean;
|
|
4297
4297
|
}
|
|
4298
4298
|
|
|
4299
|
-
interface SocketListener<Data = undefined> {
|
|
4299
|
+
interface SocketListener<Data = undefined> extends Disposable {
|
|
4300
4300
|
stop(closeActiveConnections?: boolean): void;
|
|
4301
4301
|
ref(): void;
|
|
4302
4302
|
unref(): void;
|
package/package.json
CHANGED