From 1666148991b3cb61a698acce712da5051e52c53a Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Wed, 4 Dec 2024 15:49:21 +0000 Subject: [PATCH] fix(types): Fix generic exports with default --- packages/types/src/index.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 372e5e854a87..ee22fc8adb4f 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -205,7 +205,8 @@ export type FetchBreadcrumbHint = FetchBreadcrumbHint_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type XhrBreadcrumbHint = XhrBreadcrumbHint_imported; /** @deprecated This type has been moved to `@sentry/core`. */ -export type Client = Client_imported; +// eslint-disable-next-line deprecation/deprecation +export type Client> = Client_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type ClientReport = ClientReport_imported; /** @deprecated This type has been moved to `@sentry/core`. */ @@ -322,7 +323,8 @@ export type Integration = Integration_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type IntegrationClass = IntegrationClass_imported; /** @deprecated This type has been moved to `@sentry/core`. */ -export type IntegrationFn = IntegrationFn_imported; +// eslint-disable-next-line deprecation/deprecation +export type IntegrationFn = IntegrationFn_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type Mechanism = Mechanism_imported; /** @deprecated This type has been moved to `@sentry/core`. */ @@ -334,9 +336,11 @@ export type Primitive = Primitive_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type WorkerLocation = WorkerLocation_imported; /** @deprecated This type has been moved to `@sentry/core`. */ -export type ClientOptions = ClientOptions_imported; +// eslint-disable-next-line deprecation/deprecation +export type ClientOptions = ClientOptions_imported; /** @deprecated This type has been moved to `@sentry/core`. */ -export type Options = Options_imported; +// eslint-disable-next-line deprecation/deprecation +export type Options = Options_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type Package = Package_imported; /** @deprecated This type has been moved to `@sentry/core`. */ @@ -511,7 +515,8 @@ export type WebFetchHeaders = WebFetchHeaders_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type WebFetchRequest = WebFetchRequest_imported; /** @deprecated This type has been moved to `@sentry/core`. */ -export type WrappedFunction = WrappedFunction_imported; +// eslint-disable-next-line @typescript-eslint/ban-types +export type WrappedFunction = WrappedFunction_imported; /** @deprecated This type has been moved to `@sentry/core`. */ export type HandlerDataFetch = HandlerDataFetch_imported; /** @deprecated This type has been moved to `@sentry/core`. */