File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/node/src/integrations/anr Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import type {
1616 Integration ,
1717 IntegrationClass ,
1818 IntegrationFn ,
19+ IntegrationFnResult ,
1920 ScopeData ,
2021} from '@sentry/types' ;
2122import { GLOBAL_OBJ , dynamicRequire , logger } from '@sentry/utils' ;
@@ -130,10 +131,10 @@ const _anrIntegration = ((options: Partial<AnrIntegrationOptions> = {}) => {
130131 // This allows us to call into all integrations to fetch the full context
131132 setImmediate ( ( ) => this . startWorker ( ) ) ;
132133 } ,
133- } as Integration & AnrInternal ;
134+ } as IntegrationFnResult & AnrInternal ;
134135} ) satisfies IntegrationFn ;
135136
136- type AnrReturn = ( options ?: Partial < AnrIntegrationOptions > ) => Integration & AnrInternal ;
137+ type AnrReturn = ( options ?: Partial < AnrIntegrationOptions > ) => IntegrationFnResult & AnrInternal ;
137138
138139export const anrIntegration = defineIntegration ( _anrIntegration ) as AnrReturn ;
139140
You can’t perform that action at this time.
0 commit comments