@@ -86,7 +86,7 @@ export { getModuleFromFilename } from './module';
8686export { enableAnrDetection } from './integrations/anr/legacy' ;
8787
8888import { Integrations as CoreIntegrations } from '@sentry/core' ;
89- import type { Integration } from '@sentry/types' ;
89+ import type { Integration , IntegrationClass } from '@sentry/types' ;
9090
9191import * as Handlers from './handlers' ;
9292import * as NodeIntegrations from './integrations' ;
@@ -95,19 +95,19 @@ import * as TracingIntegrations from './tracing/integrations';
9595const INTEGRATIONS = {
9696 ...CoreIntegrations ,
9797 ...( NodeIntegrations as {
98- Console : Integration ;
98+ Console : IntegrationClass < Integration > ;
9999 Http : typeof NodeIntegrations . Http ;
100- OnUncaughtException : Integration ;
101- OnUnhandledRejection : Integration ;
102- Modules : Integration ;
103- ContextLines : Integration ;
104- Context : Integration ;
105- RequestData : Integration ;
106- LocalVariables : Integration ;
100+ OnUncaughtException : IntegrationClass < Integration > ;
101+ OnUnhandledRejection : IntegrationClass < Integration > ;
102+ Modules : IntegrationClass < Integration > ;
103+ ContextLines : IntegrationClass < Integration > ;
104+ Context : IntegrationClass < Integration > ;
105+ RequestData : IntegrationClass < Integration > ;
106+ LocalVariables : IntegrationClass < Integration > ;
107107 Undici : typeof NodeIntegrations . Undici ;
108- Spotlight : Integration ;
109- Anr : Integration ;
110- Hapi : Integration ;
108+ Spotlight : IntegrationClass < Integration > ;
109+ Anr : IntegrationClass < Integration > ;
110+ Hapi : IntegrationClass < Integration > ;
111111 } ) ,
112112 ...TracingIntegrations ,
113113} ;
0 commit comments