Skip to content

fix: Spelling mistakes #2568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/core/src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import { IntegrationIndex, setupIntegrations } from './integration';
*/
export abstract class BaseClient<B extends Backend, O extends Options> implements Client<O> {
/**
* The backend used to physically interact in the enviornment. Usually, this
* The backend used to physically interact in the environment. Usually, this
* will correspond to the client. When composing SDKs, however, the Backend
* from the root SDK will be used.
*/
Expand Down Expand Up @@ -249,7 +249,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
* nested objects, such as the context, keys are merged.
*
* @param event The original event.
* @param hint May contain additional informartion about the original exception.
* @param hint May contain additional information about the original exception.
* @param scope A scope containing event metadata.
* @returns A new event with more information.
*/
Expand Down Expand Up @@ -365,7 +365,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
*
*
* @param event The event to send to Sentry.
* @param hint May contain additional informartion about the original exception.
* @param hint May contain additional information about the original exception.
* @param scope A scope containing event metadata.
* @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/minimal/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export function addBreadcrumb(breadcrumb: Breadcrumb): void {
/**
* Sets context data with the given name.
* @param name of the context
* @param context Any kind of data. This data will be normailzed.
* @param context Any kind of data. This data will be normalized.
*/
export function setContext(name: string, context: { [key: string]: any } | null): void {
callOnHub<void>('setContext', name, context);
Expand All @@ -112,7 +112,7 @@ export function setTags(tags: { [key: string]: string }): void {
/**
* Set key:value that will be sent as extra data with the event.
* @param key String of extra
* @param extra Any kind of data. This data will be normailzed.
* @param extra Any kind of data. This data will be normalized.
*/

export function setExtra(key: string, extra: any): void {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface Client<O extends Options = Options> {
flush(timeout?: number): PromiseLike<boolean>;

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

/** This is an internal function to setup all integrations that should run on the client */
setupIntegrations(): void;
Expand Down
4 changes: 2 additions & 2 deletions packages/types/src/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export interface Hub {
/**
* Set key:value that will be sent as extra data with the event.
* @param key String of extra
* @param extra Any kind of data. This data will be normailzed.
* @param extra Any kind of data. This data will be normalized.
*/
setExtra(key: string, extra: any): void;

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

Expand Down