You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Module '"@sentry/nextjs"' has no exported member 'CaptureContext' and no exported member '"ExclusiveEventHintOrCaptureContext"'. #18503
import type { CaptureContext, ExclusiveEventHintOrCaptureContext } from "@sentry/nextjs"; import { captureException, captureMessage, flush, type SeverityLevel } from "@sentry/nextjs";
Module '"@sentry/nextjs"' has no exported member 'ExclusiveEventHintOrCaptureContext'.ts(2305)
Module '"@sentry/nextjs"' has no exported member 'CaptureContext'.ts(2305)
Expected Result
Can import the Types
Actual Result
Additional Context
No response
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Activity
linear commentedon Dec 15, 2025
JS-1303
chargome commentedon Dec 15, 2025
Hey @RoyBkker thanks for reaching out!
You're right that we do not export these types atm.
Would something like :
also work fo you?
feat(core): Export `captureException` and `captureMessage` parameter …
github-actions commentedon Dec 16, 2025
A PR closing this issue has just been released 🚀
This issue was referenced by PR #18509, which was included in the 10.31.0 release.