We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 931181b commit 60afe00Copy full SHA for 60afe00
1 file changed
lib/api.ts
@@ -180,7 +180,7 @@ export class Client {
180
return req(url.toString(), { method: 'DELETE', headers });
181
}
182
183
- // with(opts = {}) {
184
- // return new ApiClient({ ...(this._opts || {}), ...opts });
185
- // }
+ with(opts: ClientOpts = {}) {
+ return new Client({ ...(this._opts || {}), ...opts });
+ }
186
0 commit comments