#Error with Variant Props
29 messages · Page 1 of 1 (latest)
It's working but with this error type, I'm not able to build my project to production...
Which typescript version are you using?
version ^5.1.6
Please try using a lower one e.g 5.0.4
not working too
Do you have this option in your tsconfig.json ?
"skipLibCheck": true,
It seems to be related to the nuxt compiler, I don't have enough experience with it but it seems to be compiling the tailwind-variants types
yes
I think that is the problem with nuxt too, this skipLibCheck is from nuxt tsconfig
So you don't have access to it?
Try excluding the node_modules
"exclude": ["**/node_modules"]
not working too, I will try with a Vue project! before this print I've tried with "exclude": ["**/node_modules"]
But here you have the skip library check in false why? 🤔
I don't know too, but I was trying everything to fix this... without the skipLibCheck: false was not working too
skipLibCheck: true are in the .nuxt/tsconfig.json
i put on my tsconfig.json but is not working
Nuxt compiler should ignore libs ts compilation, so idk maybe is better to check with nuxt community
ok, i will try! thanks
Hi, where you able to fix this? From what I'm reading this is an issue with Vue TSC that is not able to correctly get the types when using complex types, so in this case you have to use /* vue-ignore */