Invalid types for @types/eslint-plugin-jsx-a11y
nbouvrette opened this issue · 2 comments
nbouvrette commented
I tried to install @types/eslint-plugin-jsx-a11y
because eslint-plugin-jsx-a11y
isn't provided with types and I am getting build errors:
node_modules/@types/eslint-plugin-jsx-a11y/index.d.ts:5:29 - error TS2694: Namespace '"/example/node_modules/@types/eslint/index".Linter' has no exported member 'LegacyConfig'.
5 recommended: Linter.LegacyConfig;
Are those types still supported? is there a way to get types? The only solution I found for now was to disable types
ljharb commented
The DT package is entirely distinct, and I don't maintain them (altho I'm happy to review PRs that bring them up to date)
It seems like perhaps the DT package requires eslint 7 or 8, and you might be using eslint 8 or 9?
michaelfaith commented