UNPKG

362 BTypeScriptView Raw
1type Result = {
2 start: boolean;
3 nextPort: number;
4};
5/**
6 * Increases by one the port number until it finds an available port.
7 * @param port Port number to start with.
8 * @param root Root of the project.
9 */
10declare const getNextPort: (port: number, root: string) => Promise<Result>;
11export default getNextPort;
12//# sourceMappingURL=getNextPort.d.ts.map
\No newline at end of file