File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,15 @@ export interface ClientOptions {
90
90
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
91
91
* much longer than this timeout before the promise succeeds or fails.
92
92
*/
93
- timeout ?: number ;
93
+ timeout ?: number | undefined ;
94
94
95
95
/**
96
96
* An HTTP agent used to manage HTTP(S) connections.
97
97
*
98
98
* If not provided, an agent will be constructed by default in the Node.js environment,
99
99
* otherwise no agent is used.
100
100
*/
101
- httpAgent ?: Agent ;
101
+ httpAgent ?: Agent | undefined ;
102
102
103
103
/**
104
104
* Specify a custom `fetch` function implementation.
@@ -114,23 +114,23 @@ export interface ClientOptions {
114
114
*
115
115
* @default 2
116
116
*/
117
- maxRetries ?: number ;
117
+ maxRetries ?: number | undefined ;
118
118
119
119
/**
120
120
* Default headers to include with every request to the API.
121
121
*
122
122
* These can be removed in individual requests by explicitly setting the
123
123
* header to `undefined` or `null` in request options.
124
124
*/
125
- defaultHeaders ?: Core . Headers ;
125
+ defaultHeaders ?: Core . Headers | undefined ;
126
126
127
127
/**
128
128
* Default query parameters to include with every request to the API.
129
129
*
130
130
* These can be removed in individual requests by explicitly setting the
131
131
* param to `undefined` in request options.
132
132
*/
133
- defaultQuery ?: Core . DefaultQuery ;
133
+ defaultQuery ?: Core . DefaultQuery | undefined ;
134
134
}
135
135
136
136
/**
You can’t perform that action at this time.
0 commit comments