UNPKG

215 BTypeScriptView Raw
1/**
2 * Takes in an array of numbers, and returns the first one ith available port.
3 * If no ports are available, return null
4 */
5export declare const getFirstActivePort: (ports: number[]) => Promise<number | null>;