Skip to content

Bug: eslint-plugin-react-hooks has wrong d.ts after upgrade from 5 to 6/7 #34801

@krutoo

Description

@krutoo

React version:

Steps To Reproduce

  1. Use module: nodenext in TypeScript config
  2. create eslint.config.ts with using eslint-plugin-react-hooks
  3. See TypeScript errors about default field in
Image

Link to code example:

Not provided

The current behavior

Errors in TypeScript

The expected behavior

Suitable declaration files

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions