Skip to content

Commit d76d368

Browse files
committed
remove class-based integration export
1 parent 57fff8d commit d76d368

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

packages/feedback2/src/core/integration.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { convertIntegrationFnToClass, defineIntegration, getClient } from '@sentry/core';
2-
import type { Integration, IntegrationClass, IntegrationFn, IntegrationFnResult } from '@sentry/types';
1+
import { defineIntegration, getClient } from '@sentry/core';
2+
import type { IntegrationFn, IntegrationFnResult } from '@sentry/types';
33
import { isBrowser, logger } from '@sentry/utils';
44
import {
55
ACTOR_LABEL,
@@ -275,11 +275,3 @@ export const _feedback2Integration = (({
275275
}) satisfies IntegrationFn;
276276

277277
export const feedback2Integration = defineIntegration(_feedback2Integration);
278-
279-
/**
280-
* @deprecated Use `feedback2ScreenshotIntegration()` instead
281-
*/
282-
// eslint-disable-next-line deprecation/deprecation
283-
export const Feedback2 = convertIntegrationFnToClass('Feedback2', feedback2Integration) as IntegrationClass<
284-
Integration & PublicFeedback2Integration
285-
>;

0 commit comments

Comments
 (0)