histoire
Version:
A fast story book powered by Vite
8 lines • 444 B
TypeScript
/**
* Resolves zero to an available loopback port because Vite ignores listen(0).
* Reservation is released before Vite binds. Vite retains its configured
* strictPort/fallback policy if another listener wins that short race; callers
* must read the actual bound address rather than treating this port as final.
*/
export declare function resolveDevServerPort(port?: number): Promise<number | undefined>;
//# sourceMappingURL=port.d.ts.map