File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11import { configureScope , init as reactInit , Integrations as BrowserIntegrations } from '@sentry/react' ;
22import { defaultRequestInstrumentationOptions , Integrations as TracingIntegrations } from '@sentry/tracing' ;
3+ import { IntegrationClass } from '@sentry/types' ;
34
45import { nextRouterInstrumentation } from './performance/client' ;
56import { MetadataBuilder } from './utils/metadataBuilder' ;
@@ -10,7 +11,7 @@ export * from '@sentry/react';
1011export { nextRouterInstrumentation } from './performance/client' ;
1112
1213const { BrowserTracing } = TracingIntegrations ;
13- export const Integrations = { ...BrowserIntegrations , BrowserTracing } ;
14+ export const Integrations : { [ key : string ] : IntegrationClass } = { ...BrowserIntegrations , BrowserTracing } ;
1415
1516/** Inits the Sentry NextJS SDK on the browser with the React SDK. */
1617export function init ( options : NextjsOptions ) : void {
Original file line number Diff line number Diff line change 1+ import { IntegrationClass } from '@sentry/types' ;
2+
13import { BrowserTracing } from './browser' ;
24import { addExtensionMethods } from './hubextensions' ;
35import * as TracingIntegrations from './integrations' ;
46
5- const Integrations = { ...TracingIntegrations , BrowserTracing } ;
7+ const Integrations : { [ key : string ] : IntegrationClass } = { ...TracingIntegrations , BrowserTracing } ;
68
79export { Integrations } ;
810export { Span } from './span' ;
You can’t perform that action at this time.
0 commit comments