Skip to content

Commit 736e982

Browse files
authored
Merge pull request #103 from brunogaspar/fix/typescript-definition
Add missing highestPort property to TypeScript definition
2 parents 8895293 + f058450 commit 736e982

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/portfinder.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ interface PortFinderOptions{
3333
*/
3434
export let basePort: number;
3535

36+
/**
37+
* The highest port to end any port search from.
38+
*/
39+
export let highestPort: number;
40+
3641
/**
3742
* Responds with a unbound port on the current machine.
3843
*/

0 commit comments

Comments
 (0)