nuxt-bugsnag
nuxt-bugsnag copied to clipboard
Disabling module during development removes types
We disable bugsnag in development.
bugsnag: {
disabled: isDevelopment,
...
}
Vscode rightfully indicates that it can not find the composable.
// @ts-expect-error - Not enabled in development
if (typeof useBugsnag !== 'undefined')
// @ts-expect-error - Not enabled in development
useBugsnag().setUser(USER_ID_COOKIE)
Any suggestions?
Hey, can you pls provide a reproduction with stackblitz and specify which version of the module and nuxt you are using? Thank you!