File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { NextjsOptions } from './utils/nextjsOptions';
7
7
export * from '@sentry/react' ;
8
8
9
9
/** Inits the Sentry NextJS SDK on the browser with the React SDK. */
10
- export function init ( options : NextjsOptions ) : any {
10
+ export function init ( options : NextjsOptions ) : void {
11
11
const metadataBuilder = new MetadataBuilder ( options , [ 'nextjs' , 'react' ] ) ;
12
12
metadataBuilder . addSdkMetadata ( ) ;
13
13
const initDecider = new InitDecider ( options ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export * from '@sentry/node';
11
11
export { ErrorBoundary , withErrorBoundary } from '@sentry/react' ;
12
12
13
13
/** Inits the Sentry NextJS SDK on node. */
14
- export function init ( options : NextjsOptions ) : any {
14
+ export function init ( options : NextjsOptions ) : void {
15
15
const metadataBuilder = new MetadataBuilder ( options , [ 'nextjs' , 'node' ] ) ;
16
16
metadataBuilder . addSdkMetadata ( ) ;
17
17
const initDecider = new InitDecider ( options ) ;
You can’t perform that action at this time.
0 commit comments