[typescript template] not working - help wanted
FranciscoKloganB opened this issue · comments
Just downloaded the project. Installed all dependencies with pnpm
, shamefully hoist and all those caveats known in PNPM.
Changed a few things in About page and then I noticed something.
I am getting Type checking in ts
files. I am also getting Type checking within .vue
files within the <script>
tags.
However, when it comes to getting Type checking I do not get any type checking regarding props of imported components. I only get type inference for things within the "self" script tag.
See below:
Basically, any component that is external to the current file, used in template is being typed as any
. I have no clue why this is happening. Do you have any ideia?
Uninstalled @nuxt/content
, the problem is fixed.
I also appears is a known issue, but no answers from codeowners: nuxt/content#1358