Skip to content

Commit 8d864d1

Browse files
chore: mention unit type in timeout docs
1 parent ef5f62b commit 8d864d1

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
@@ -55,6 +55,8 @@ export interface ClientOptions {
5555
*
5656
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
5757
* much longer than this timeout before the promise succeeds or fails.
58+
*
59+
* @unit milliseconds
5860
*/
5961
timeout?: number | undefined;
6062

0 commit comments

Comments
 (0)