balda 0.0.55 → 0.0.56
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/index.cjs +16 -16
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +16 -16
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -1935,6 +1935,7 @@ declare class Server<H extends NodeHttpClient = NodeHttpClient> implements Serve
|
|
|
1935
1935
|
beforeStart(hook: ServerHook): void;
|
|
1936
1936
|
beforeClose(hook: ServerHook): void;
|
|
1937
1937
|
listen(cb?: ServerListenCallback): void;
|
|
1938
|
+
listen(port: number, cb?: ServerListenCallback): void;
|
|
1938
1939
|
waitUntilListening(): Promise<{
|
|
1939
1940
|
port: number;
|
|
1940
1941
|
host: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -1935,6 +1935,7 @@ declare class Server<H extends NodeHttpClient = NodeHttpClient> implements Serve
|
|
|
1935
1935
|
beforeStart(hook: ServerHook): void;
|
|
1936
1936
|
beforeClose(hook: ServerHook): void;
|
|
1937
1937
|
listen(cb?: ServerListenCallback): void;
|
|
1938
|
+
listen(port: number, cb?: ServerListenCallback): void;
|
|
1938
1939
|
waitUntilListening(): Promise<{
|
|
1939
1940
|
port: number;
|
|
1940
1941
|
host: string;
|