File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/nuxt/src/runtime Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import type { ClientOptions , Context , SerializedTraceData } from '@sentry/core' ;
22import { captureException , debug , getClient , getTraceMetaTags } from '@sentry/core' ;
3- import type { VueOptions } from '@sentry/vue/src/types ' ;
3+ import type { VueIntegrationOptions } from '@sentry/vue' ;
44import type { CapturedErrorContext } from 'nitropack/types' ;
55import type { NuxtRenderHTMLContext } from 'nuxt/app' ;
66import type { ComponentPublicInstance } from 'vue' ;
@@ -69,7 +69,7 @@ export function reportNuxtError(options: {
6969
7070 if ( instance ?. $props ) {
7171 const sentryClient = getClient ( ) ;
72- const sentryOptions = sentryClient ? ( sentryClient . getOptions ( ) as ClientOptions & VueOptions ) : null ;
72+ const sentryOptions = sentryClient ? ( sentryClient . getOptions ( ) as ClientOptions & VueIntegrationOptions ) : null ;
7373
7474 // `attachProps` is enabled by default and props should only not be attached if explicitly disabled (see DEFAULT_CONFIG in `vueIntegration`).
7575 if ( sentryOptions ?. attachProps && instance . $props !== false ) {
You can’t perform that action at this time.
0 commit comments