jsx-eslint / eslint-plugin-jsx-a11y

Static AST checker for a11y rules on JSX elements.
MIT License
3.38k stars 637 forks source link

bug: type declaration for eslint flat config #983

Closed TheElegantCoding closed 4 months ago

TheElegantCoding commented 4 months ago

the export of the package is type any and dont have support for types image

ljharb commented 4 months ago

This plugin has no types in it - maybe there's a DT package - and we also don't yet suppoer flat config.

See #891.

TheElegantCoding commented 4 months ago

i think for eslint flat config it is needed, i know maybe not now, but when the package has support

ljharb commented 4 months ago

Types aren't ever needed because they're not part of JavaScript. If you're using TS, you can use DefinitelyTyped.