Is there an existing issue for this?
Description Overview
It is possible to have the ESLint config be type checked using JSDoc comments and the // @ts-check annotation comment: e.g.
// @ts-check
/** @type {import("eslint").Linter.Config[]} */
export default [
// ...
]
But this package doesn't export types ATM. It would be nice if it did export types so it works without errors using this. Most/all other plugins I used do have types.
Expected Behavior
For the package to have TypeScript types
eslint-plugin-react version
v7.35.0
eslint version
v9.8.0
node version
v18.20.4
Is there an existing issue for this?
Description Overview
It is possible to have the ESLint config be type checked using JSDoc comments and the
// @ts-checkannotation comment: e.g.But this package doesn't export types ATM. It would be nice if it did export types so it works without errors using this. Most/all other plugins I used do have types.
Expected Behavior
For the package to have TypeScript types
eslint-plugin-react version
v7.35.0
eslint version
v9.8.0
node version
v18.20.4