Skip to content
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

fix(types): Fix generic exports with default #14576

Merged
merged 1 commit into from
Dec 5, 2024
Merged
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
15 changes: 10 additions & 5 deletions packages/types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<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 @@ -322,7 +323,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 @@ -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<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 @@ -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<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
Loading