[Bug?]: Typescript error in tsconfig.json for new projects created with pnpm. #1454
Closed
2 tasks done
Labels
bug
Something isn't working
Duplicates
Latest version
Current behavior 😯
Expected behavior 🤔
No Typescript errors
Steps to reproduce 🕹
Steps:
pnpm create solid
pnpm install
Context 🔦
This issue seems to have an easy fix, and it is to change the line in the tsconfig from:
"types": ["vinxi/client", "vite/client"],
to this:
"types": ["vinxi/types/client"],
This issue seems to only occur when using pnpm and not npm. I have not tested this on other machines.
I am rather new to the ecosystem. Please take the change with a grain of salt.
I found the type from vinxi's documentation: https://vinxi.vercel.app/guide/aliases.html
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: