ESLint not recognizing TypeScript syntax
Hi,
I'm using
@nuxt/eslint
, and this is my eslint.config.mjs
when i declare an interface inside my script i get an error saying
Parsing error: The keyword 'interface' is reservedeslint
, how do i fix this?3 Replies
I'm having a similar error, have you found any solution?
Nothing yet 🥲
Hey guys
You have to install typescript as a dev dependency. This was added in previous version of Ealing to fix an error.
So basically pnpm add -D typescript