fix(nextjs): Fix typing issue with withSentryConfig
and NextConfig
#5967
+61
−4
withSentryConfig
and NextConfig
#5967