Skip to content
New issue

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

[typescript template] not working - help wanted #53

Closed
FranciscoKloganB opened this issue Mar 1, 2023 · 1 comment
Closed

[typescript template] not working - help wanted #53

FranciscoKloganB opened this issue Mar 1, 2023 · 1 comment

Comments

@FranciscoKloganB
Copy link

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.

image

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:

image
image

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?

@FranciscoKloganB FranciscoKloganB changed the title [typescript template] not working [typescript template] not working - help wanted Mar 1, 2023
@FranciscoKloganB
Copy link
Author

Uninstalled @nuxt/content, the problem is fixed.

I also appears is a known issue, but no answers from codeowners: nuxt/content#1358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant