File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/replay-canvas/src Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11import { CanvasManager } from '@sentry-internal/rrweb' ;
22import { convertIntegrationFnToClass } from '@sentry/core' ;
33import type { CanvasManagerInterface , CanvasManagerOptions } from '@sentry/replay' ;
4- import type { IntegrationFn } from '@sentry/types' ;
4+ import type { Integration , IntegrationClass , IntegrationFn } from '@sentry/types' ;
55
66interface ReplayCanvasOptions {
77 quality : 'low' | 'medium' | 'high' ;
@@ -78,4 +78,8 @@ const replayCanvasIntegration = ((options: Partial<ReplayCanvasOptions> = {}) =>
7878
7979// TODO(v8)
8080// eslint-disable-next-line deprecation/deprecation
81- export const ReplayCanvas = convertIntegrationFnToClass ( INTEGRATION_NAME , replayCanvasIntegration ) ;
81+ export const ReplayCanvas = convertIntegrationFnToClass ( INTEGRATION_NAME , replayCanvasIntegration ) as IntegrationClass <
82+ Integration & {
83+ getOptions : ( ) => ReplayCanvasIntegrationOptions
84+ }
85+ > ;
You can’t perform that action at this time.
0 commit comments