Skip to content

Commit

Permalink
fix(types): Fix generic exports with default (#14576)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Dec 5, 2024
1 parent d8bd0f5 commit 92ce807
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,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<O extends ClientOptions = ClientOptions<BaseTransportOptions>> = Client_imported<O>;
/** @deprecated This type has been moved to `@sentry/core`. */
export type ClientReport = ClientReport_imported;
/** @deprecated This type has been moved to `@sentry/core`. */
Expand Down Expand Up @@ -323,7 +324,8 @@ export type Integration = Integration_imported;
/** @deprecated This type has been moved to `@sentry/core`. */
export type IntegrationClass<T> = IntegrationClass_imported<T>;
/** @deprecated This type has been moved to `@sentry/core`. */
export type IntegrationFn = IntegrationFn_imported;
// eslint-disable-next-line deprecation/deprecation
export type IntegrationFn<IntegrationType = Integration> = IntegrationFn_imported<IntegrationType>;
/** @deprecated This type has been moved to `@sentry/core`. */
export type Mechanism = Mechanism_imported;
/** @deprecated This type has been moved to `@sentry/core`. */
Expand All @@ -335,9 +337,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<TO extends BaseTransportOptions = BaseTransportOptions> = ClientOptions_imported<TO>;
/** @deprecated This type has been moved to `@sentry/core`. */
export type Options = Options_imported;
// eslint-disable-next-line deprecation/deprecation
export type Options<TO extends BaseTransportOptions = BaseTransportOptions> = Options_imported<TO>;
/** @deprecated This type has been moved to `@sentry/core`. */
export type Package = Package_imported;
/** @deprecated This type has been moved to `@sentry/core`. */
Expand Down Expand Up @@ -512,7 +516,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<T extends Function = Function> = WrappedFunction_imported<T>;
/** @deprecated This type has been moved to `@sentry/core`. */
export type HandlerDataFetch = HandlerDataFetch_imported;
/** @deprecated This type has been moved to `@sentry/core`. */
Expand Down

0 comments on commit 92ce807

Please sign in to comment.