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 {
16
16
Integration ,
17
17
IntegrationClass ,
18
18
IntegrationFn ,
19
+ IntegrationFnResult ,
19
20
ScopeData ,
20
21
} from '@sentry/types' ;
21
22
import { GLOBAL_OBJ , dynamicRequire , logger } from '@sentry/utils' ;
@@ -130,10 +131,10 @@ const _anrIntegration = ((options: Partial<AnrIntegrationOptions> = {}) => {
130
131
// This allows us to call into all integrations to fetch the full context
131
132
setImmediate ( ( ) => this . startWorker ( ) ) ;
132
133
} ,
133
- } as Integration & AnrInternal ;
134
+ } as IntegrationFnResult & AnrInternal ;
134
135
} ) satisfies IntegrationFn ;
135
136
136
- type AnrReturn = ( options ?: Partial < AnrIntegrationOptions > ) => Integration & AnrInternal ;
137
+ type AnrReturn = ( options ?: Partial < AnrIntegrationOptions > ) => IntegrationFnResult & AnrInternal ;
137
138
138
139
export const anrIntegration = defineIntegration ( _anrIntegration ) as AnrReturn ;
139
140
You can’t perform that action at this time.
0 commit comments