Skip to content

Commit b66cfb7

Browse files
committed
fix: Typo instanciate => instantiate
1 parent 5421dc9 commit b66cfb7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/core/src/basebackend.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { NoopTransport } from './transports/noop';
1616
* the Client for validation and processing first.
1717
*
1818
* Usually, the Client will be of corresponding type, e.g. NodeBackend
19-
* receives NodeClient. However, higher-level SDKs can choose to instanciate
19+
* receives NodeClient. However, higher-level SDKs can choose to instantiate
2020
* multiple Backends and delegate tasks between them. In this case, an event
2121
* generated by one backend might very well be sent by another one.
2222
*
@@ -44,7 +44,7 @@ export interface Backend {
4444
}
4545

4646
/**
47-
* A class object that can instanciate Backend objects.
47+
* A class object that can instantiate Backend objects.
4848
* @hidden
4949
*/
5050
export type BackendClass<B extends Backend, O extends Options> = new (options: O) => B;

packages/core/src/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import { getCurrentHub } from '@sentry/hub';
22
import { Client, Options } from '@sentry/types';
33
import { logger } from '@sentry/utils';
44

5-
/** A class object that can instanciate Client objects. */
5+
/** A class object that can instantiate Client objects. */
66
export type ClientClass<F extends Client, O extends Options> = new (options: O) => F;
77

88
/**
99
* Internal function to create a new SDK client instance. The client is
1010
* installed and then bound to the current scope.
1111
*
12-
* @param clientClass The client class to instanciate.
12+
* @param clientClass The client class to instantiate.
1313
* @param options Options to pass to the client.
1414
*/
1515
export function initAndBind<F extends Client, O extends Options>(clientClass: ClientClass<F, O>, options: O): void {

0 commit comments

Comments
 (0)