Open gbyesiltas opened 2 months ago
// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: '2024-04-03', modules: ['@nuxt-alt/auth'], devtools: { enabled: true }, future: { compatibilityVersion: 4, }, });
https://stackblitz.com/edit/github-6knne9-jq8rf1?file=app%2Fplugins%2Fhello-object-syntax.ts,app%2Fcomposables%2FuseHello.ts,nuxt.config.ts,package.json
When this module is enabled, things provided to the nuxt context from plugins are typed as unknown.
unknown
There is a closed issue about this in the Nuxt repo here.
No response
Environment
Nuxt Config
Reproduction
https://stackblitz.com/edit/github-6knne9-jq8rf1?file=app%2Fplugins%2Fhello-object-syntax.ts,app%2Fcomposables%2FuseHello.ts,nuxt.config.ts,package.json
Describe the bug
When this module is enabled, things provided to the nuxt context from plugins are typed as
unknown
.Additional context
There is a closed issue about this in the Nuxt repo here.
Logs
No response