Skip to content

Commit

Permalink
Add TS return signature to setPort functions
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Peveler <[email protected]
  • Loading branch information
MasterOdin authored Aug 13, 2022
1 parent 83686d9 commit 9100cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/portfinder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export let basePort: number;
/**
* Set the lowest port to begin any port search from.
*/
export function setBasePort(port: number);
export function setBasePort(port: number): void;

/**
* The highest port to end any port search from.
Expand All @@ -46,7 +46,7 @@ export let highestPort: number;
/**
* Set the higheset port to end any port search from.
*/
export function setHighestPort(port: number);
export function setHighestPort(port: number): void;

/**
* Responds with a unbound port on the current machine.
Expand Down

0 comments on commit 9100cd6

Please sign in to comment.