I've got a tsconfig.json with:
"allowJs": true
Because some parts of my project need to import js while we migrate to ts.
But it's causing type check errors in VSCode in my eslint.config.mjs file. ... why? I don't have checkJs enabled. The error I get is:
The inferred type of 'default' cannot be named without a reference to '.pnpm/[email protected][email protected]/node_modules/eslint'. This is likely not portable. A type annotation is necessary.
Well, this is a JavaScript file. I can't add a type annotation!?