Skip to content

Commit

Permalink
Merge branch 'http-party:master' into test-ts-types
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin authored Aug 13, 2022
2 parents 101e8d4 + 26951d1 commit 2c6f9c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/portfinder.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

type PortfinderCallback = (err: Error, port: number) => void;

interface PortFinderOptions{
interface PortFinderOptions {
/**
* Host to find available port on.
*/
Expand Down Expand Up @@ -36,7 +36,7 @@ export let basePort: number;
/**
* Set the lowest port to begin any port search from.
*/
export setBasePort(port: number);
export function setBasePort(port: number);

/**
* 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 setHighestPort(port: number);
export function setHighestPort(port: number);

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

0 comments on commit 2c6f9c1

Please sign in to comment.