Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
nanianlisao and sindresorhus committed Mar 15, 2024
1 parent 2ba44cb commit 4a12b4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ console.log(await getPort({port: portNumbers(3000, 3100)}));
export function portNumbers(from: number, to: number): Iterable<number>;

/**
Clear the internal cache of locked ports when you want your results to be unaffected by previous calls.
Clear the internal cache of locked ports.
This can be useful when you want the results to be unaffected by previous calls.
@example
```
Expand Down

0 comments on commit 4a12b4b

Please sign in to comment.