Skip to content

Commit 0d8d06b

Browse files
chore: mention unit type in timeout docs
1 parent 156d50f commit 0d8d06b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ export interface ClientOptions {
6464
*
6565
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
6666
* much longer than this timeout before the promise succeeds or fails.
67+
*
68+
* @unit milliseconds
6769
*/
6870
timeout?: number | undefined;
6971

0 commit comments

Comments
 (0)