@@ -206,7 +206,8 @@ export type FetchBreadcrumbHint = FetchBreadcrumbHint_imported;
206
206
/** @deprecated This type has been moved to `@sentry/core`. */
207
207
export type XhrBreadcrumbHint = XhrBreadcrumbHint_imported ;
208
208
/** @deprecated This type has been moved to `@sentry/core`. */
209
- export type Client = Client_imported ;
209
+ // eslint-disable-next-line deprecation/deprecation
210
+ export type Client < O extends ClientOptions = ClientOptions < BaseTransportOptions > > = Client_imported < O > ;
210
211
/** @deprecated This type has been moved to `@sentry/core`. */
211
212
export type ClientReport = ClientReport_imported ;
212
213
/** @deprecated This type has been moved to `@sentry/core`. */
@@ -323,7 +324,8 @@ export type Integration = Integration_imported;
323
324
/** @deprecated This type has been moved to `@sentry/core`. */
324
325
export type IntegrationClass < T > = IntegrationClass_imported < T > ;
325
326
/** @deprecated This type has been moved to `@sentry/core`. */
326
- export type IntegrationFn = IntegrationFn_imported ;
327
+ // eslint-disable-next-line deprecation/deprecation
328
+ export type IntegrationFn < IntegrationType = Integration > = IntegrationFn_imported < IntegrationType > ;
327
329
/** @deprecated This type has been moved to `@sentry/core`. */
328
330
export type Mechanism = Mechanism_imported ;
329
331
/** @deprecated This type has been moved to `@sentry/core`. */
@@ -335,9 +337,11 @@ export type Primitive = Primitive_imported;
335
337
/** @deprecated This type has been moved to `@sentry/core`. */
336
338
export type WorkerLocation = WorkerLocation_imported ;
337
339
/** @deprecated This type has been moved to `@sentry/core`. */
338
- export type ClientOptions = ClientOptions_imported ;
340
+ // eslint-disable-next-line deprecation/deprecation
341
+ export type ClientOptions < TO extends BaseTransportOptions = BaseTransportOptions > = ClientOptions_imported < TO > ;
339
342
/** @deprecated This type has been moved to `@sentry/core`. */
340
- export type Options = Options_imported ;
343
+ // eslint-disable-next-line deprecation/deprecation
344
+ export type Options < TO extends BaseTransportOptions = BaseTransportOptions > = Options_imported < TO > ;
341
345
/** @deprecated This type has been moved to `@sentry/core`. */
342
346
export type Package = Package_imported ;
343
347
/** @deprecated This type has been moved to `@sentry/core`. */
@@ -512,7 +516,8 @@ export type WebFetchHeaders = WebFetchHeaders_imported;
512
516
/** @deprecated This type has been moved to `@sentry/core`. */
513
517
export type WebFetchRequest = WebFetchRequest_imported ;
514
518
/** @deprecated This type has been moved to `@sentry/core`. */
515
- export type WrappedFunction = WrappedFunction_imported ;
519
+ // eslint-disable-next-line @typescript-eslint/ban-types
520
+ export type WrappedFunction < T extends Function = Function > = WrappedFunction_imported < T > ;
516
521
/** @deprecated This type has been moved to `@sentry/core`. */
517
522
export type HandlerDataFetch = HandlerDataFetch_imported ;
518
523
/** @deprecated This type has been moved to `@sentry/core`. */
0 commit comments