Skip to content

Commit 8cdcbab

Browse files
chore(internal): fix some typos (#794)
1 parent e6288fa commit 8cdcbab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export abstract class APIClient {
163163
maxRetries = 2,
164164
timeout = 60000, // 1 minute
165165
httpAgent,
166-
fetch: overridenFetch,
166+
fetch: overriddenFetch,
167167
}: {
168168
baseURL: string;
169169
maxRetries?: number | undefined;
@@ -176,7 +176,7 @@ export abstract class APIClient {
176176
this.timeout = validatePositiveInteger('timeout', timeout);
177177
this.httpAgent = httpAgent;
178178

179-
this.fetch = overridenFetch ?? fetch;
179+
this.fetch = overriddenFetch ?? fetch;
180180
}
181181

182182
protected authHeaders(opts: FinalRequestOptions): Headers {

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ describe('instantiate client', () => {
190190
expect(client.apiKey).toBe('My API Key');
191191
});
192192

193-
test('with overriden environment variable arguments', () => {
193+
test('with overridden environment variable arguments', () => {
194194
// set options via env var
195195
process.env['INCREASE_API_KEY'] = 'another My API Key';
196196
const client = new Increase({ apiKey: 'My API Key' });

0 commit comments

Comments
 (0)