bun-types-no-globals 1.2.22-canary.20250904T140708 → 1.2.22-canary.20250905T140553
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/lib/bun.d.ts +5 -0
- package/package.json +1 -1
package/lib/bun.d.ts
CHANGED
|
@@ -3846,6 +3846,11 @@ declare module "bun" {
|
|
|
3846
3846
|
* @category HTTP & Networking
|
|
3847
3847
|
*/
|
|
3848
3848
|
interface Server extends Disposable {
|
|
3849
|
+
/*
|
|
3850
|
+
* Closes all connections connected to this server which are not sending a request or waiting for a response. Does not close the listen socket.
|
|
3851
|
+
*/
|
|
3852
|
+
closeIdleConnections(): void;
|
|
3853
|
+
|
|
3849
3854
|
/**
|
|
3850
3855
|
* Stop listening to prevent new connections from being accepted.
|
|
3851
3856
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun-types-no-globals",
|
|
3
|
-
"version": "1.2.22-canary.
|
|
3
|
+
"version": "1.2.22-canary.20250905T140553",
|
|
4
4
|
"main": "./generator/index.ts",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"description": "TypeScript type definitions for Bun without global types pollution",
|