Skip to content

Commit 96158a4

Browse files
chore(internal): codegen related update (#27)
1 parent 848c166 commit 96158a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ export interface ClientOptions {
9090
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
9191
* much longer than this timeout before the promise succeeds or fails.
9292
*/
93-
timeout?: number;
93+
timeout?: number | undefined;
9494

9595
/**
9696
* An HTTP agent used to manage HTTP(S) connections.
9797
*
9898
* If not provided, an agent will be constructed by default in the Node.js environment,
9999
* otherwise no agent is used.
100100
*/
101-
httpAgent?: Agent;
101+
httpAgent?: Agent | undefined;
102102

103103
/**
104104
* Specify a custom `fetch` function implementation.
@@ -114,23 +114,23 @@ export interface ClientOptions {
114114
*
115115
* @default 2
116116
*/
117-
maxRetries?: number;
117+
maxRetries?: number | undefined;
118118

119119
/**
120120
* Default headers to include with every request to the API.
121121
*
122122
* These can be removed in individual requests by explicitly setting the
123123
* header to `undefined` or `null` in request options.
124124
*/
125-
defaultHeaders?: Core.Headers;
125+
defaultHeaders?: Core.Headers | undefined;
126126

127127
/**
128128
* Default query parameters to include with every request to the API.
129129
*
130130
* These can be removed in individual requests by explicitly setting the
131131
* param to `undefined` in request options.
132132
*/
133-
defaultQuery?: Core.DefaultQuery;
133+
defaultQuery?: Core.DefaultQuery | undefined;
134134
}
135135

136136
/**

0 commit comments

Comments
 (0)