Skip to content

Commit 42dcad6

Browse files
IKatsubaIgor Katsuba
andauthored
fix: Spelling mistakes (#2568)
Co-authored-by: Igor Katsuba <[email protected]>
1 parent d36c9f6 commit 42dcad6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/core/src/baseclient.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import { IntegrationIndex, setupIntegrations } from './integration';
4949
*/
5050
export abstract class BaseClient<B extends Backend, O extends Options> implements Client<O> {
5151
/**
52-
* The backend used to physically interact in the enviornment. Usually, this
52+
* The backend used to physically interact in the environment. Usually, this
5353
* will correspond to the client. When composing SDKs, however, the Backend
5454
* from the root SDK will be used.
5555
*/
@@ -259,7 +259,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
259259
* nested objects, such as the context, keys are merged.
260260
*
261261
* @param event The original event.
262-
* @param hint May contain additional informartion about the original exception.
262+
* @param hint May contain additional information about the original exception.
263263
* @param scope A scope containing event metadata.
264264
* @returns A new event with more information.
265265
*/
@@ -381,7 +381,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
381381
*
382382
*
383383
* @param event The event to send to Sentry.
384-
* @param hint May contain additional informartion about the original exception.
384+
* @param hint May contain additional information about the original exception.
385385
* @param scope A scope containing event metadata.
386386
* @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
387387
*/

packages/minimal/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function addBreadcrumb(breadcrumb: Breadcrumb): void {
8787
/**
8888
* Sets context data with the given name.
8989
* @param name of the context
90-
* @param context Any kind of data. This data will be normailzed.
90+
* @param context Any kind of data. This data will be normalized.
9191
*/
9292
export function setContext(name: string, context: { [key: string]: any } | null): void {
9393
callOnHub<void>('setContext', name, context);
@@ -112,7 +112,7 @@ export function setTags(tags: { [key: string]: string }): void {
112112
/**
113113
* Set key:value that will be sent as extra data with the event.
114114
* @param key String of extra
115-
* @param extra Any kind of data. This data will be normailzed.
115+
* @param extra Any kind of data. This data will be normalized.
116116
*/
117117

118118
export function setExtra(key: string, extra: any): void {

packages/types/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export interface Client<O extends Options = Options> {
6969
flush(timeout?: number): PromiseLike<boolean>;
7070

7171
/** Returns an array of installed integrations on the client. */
72-
getIntegration<T extends Integration>(integartion: IntegrationClass<T>): T | null;
72+
getIntegration<T extends Integration>(integration: IntegrationClass<T>): T | null;
7373

7474
/** This is an internal function to setup all integrations that should run on the client */
7575
setupIntegrations(): void;

packages/types/src/hub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export interface Hub {
135135
/**
136136
* Set key:value that will be sent as extra data with the event.
137137
* @param key String of extra
138-
* @param extra Any kind of data. This data will be normailzed.
138+
* @param extra Any kind of data. This data will be normalized.
139139
*/
140140
setExtra(key: string, extra: any): void;
141141

@@ -148,7 +148,7 @@ export interface Hub {
148148
/**
149149
* Sets context data with the given name.
150150
* @param name of the context
151-
* @param context Any kind of data. This data will be normailzed.
151+
* @param context Any kind of data. This data will be normalized.
152152
*/
153153
setContext(name: string, context: { [key: string]: any } | null): void;
154154

0 commit comments

Comments
 (0)