N
Nuxt8mo ago
Willy

Eslint error with typescript

I'm getting this error with typescript types, I didn't do any configuration, just installation as the documentation suggests.
No description
4 Replies
Willy
WillyOP8mo ago
import { AccordionContent } from 'radix-vue'
import { AccordionContent } from 'radix-vue'
this error is
import type ...
import type ...
I understand, yes, I restarted several times, I even uninstalled all the libraries and redid the installation process again and still the error persists
johntanzer
johntanzer8mo ago
Hey. This occurs on latest Nuxt Eslint plugin. Just add pnpm add -D typescript This will sort it out!
Sibyl
Sibyl8mo ago
Thank you any idea why this is not written in docs?
johntanzer
johntanzer8mo ago
Hey. Did raise an issue about it not being on docs a while ago. Not sure tbh. Glad you sorted

Did you find this page helpful?