Skip to content

Commit 3c5a055

Browse files
committed
build fix
1 parent f0cd873 commit 3c5a055

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/types/src/client.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { DynamicSamplingContext, Envelope } from './envelope';
77
import type { Event, EventHint } from './event';
88
import type { EventProcessor } from './eventprocessor';
99
import type { FeedbackEvent } from './feedback';
10-
import type { Integration, IntegrationClass } from './integration';
10+
import type { Integration } from './integration';
1111
import type { ClientOptions } from './options';
1212
import type { ParameterizedString } from './parameterize';
1313
import type { Scope } from './scope';
@@ -127,12 +127,6 @@ export interface Client<O extends ClientOptions = ClientOptions> {
127127
*/
128128
getEventProcessors(): EventProcessor[];
129129

130-
/**
131-
* Returns the client's instance of the given integration class, it any.
132-
* @deprecated Use `getIntegrationByName()` instead.
133-
*/
134-
getIntegration<T extends Integration>(integration: IntegrationClass<T>): T | null;
135-
136130
/** Get the instance of the integration with the given name on the client, if it was added. */
137131
getIntegrationByName<T extends Integration = Integration>(name: string): T | undefined;
138132

0 commit comments

Comments
 (0)