We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Darwin
v18.7.0
3.0.0-rc.11
0.5.4
yarn@1.22.19
vite
buildModules
meta
ssr
publicRuntimeConfig
css
tailwindcss
-
@nuxtjs/tailwindcss@5.3.3
document https://v3.nuxtjs.org/getting-started/error-handling#useerror https://github.com/nuxt/framework/blob/main/docs/content/1.getting-started/8.error-handling.md#useerror
type definition code https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L82
Type of useError() return value is Ref<any> in document,
Ref<any>
https://v3.nuxtjs.org/getting-started/error-handling#useerror
function useError (): Ref<any>
but actual below.
https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L82
Ref<Error | { url: string; statusCode: string; statusMessage: string; message: string; description: string; data?: any; }>
Probably because of the following changes
https://github.com/nuxt/framework/pull/6389/files
I will create a PR if the following change is acceptable. nuxt/framework@main...uyamazak:framework:fix_userrror_type_in_doc
No response
The text was updated successfully, but these errors were encountered:
It looks good to me - thank you ❤️
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Environment
Darwin
v18.7.0
3.0.0-rc.11
0.5.4
yarn@1.22.19
vite
buildModules
,meta
,ssr
,publicRuntimeConfig
,css
,tailwindcss
-
@nuxtjs/tailwindcss@5.3.3
Reproduction
document
https://v3.nuxtjs.org/getting-started/error-handling#useerror
https://github.com/nuxt/framework/blob/main/docs/content/1.getting-started/8.error-handling.md#useerror
type definition code
https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L82
Describe the bug
Type of useError() return value is
Ref<any>
in document,https://v3.nuxtjs.org/getting-started/error-handling#useerror
but actual below.
https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L82
Additional context
Probably because of the following changes
https://github.com/nuxt/framework/pull/6389/files
I will create a PR if the following change is acceptable.
nuxt/framework@main...uyamazak:framework:fix_userrror_type_in_doc
Logs
No response
The text was updated successfully, but these errors were encountered: