-
-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Description
Environment
- Operating System: Windows_NT
- Node Version: v16.18.0
- Nuxt Version: 3.4.2
- Nitro Version: 2.3.2
- Package Manager: [email protected]
- Builder: vite
- User Config: modules, build, auth
- Runtime Modules: ../src/module.ts
- Build Modules: -
Reproduction
No response
Describe the bug
definePageMeta({ auth }) in not typed

There is some type declarations in src/runtime/middleware/auth.ts, but it has no impact
type MiddlewareMeta = boolean | {
unauthenticatedOnly: true,
navigateAuthenticatedTo?: string,
}
declare module '#app' {
interface PageMeta {
auth?: MiddlewareMeta
}
}Additional context
No response
Logs
No response
Metadata
Metadata
Assignees
Labels
No labels