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
[@sentry/nextjs]: project option in withSentryConfig typed as string but bundler plugin accepts `string | string[] #21066
Config's type definition declares project?: string, but the underlying @sentry/bundler-plugin-core types project as string | string[]
(source).
Build plugin option forwards the value verbatim to the bundler plugin - meaning the runtime already accepts arrays, but the TypeScript type rejects them at compile time. And it also breaks discoverability for agents.
Activity
linear-code commentedon May 20, 2026
JS-2569
fix(nextjs): widen `project` option type to `string | string[]` (#21067)
github-actions commentedon May 26, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #21067, which was included in the 10.54.0 release.