Skip to content

[Bug]: New type declarations not included in published package #3836

Description

@JstnMcBrd

Is there an existing issue for this?

  • I have searched the existing issues and my issue is unique
  • My issue appears in the command-line and not only in the text editor

Description Overview

Source:


In the currently published version on npm (7.37.0), the new type declarations added in #3830 are missing. You can browse the published files here.

Expected Behavior

There should be a index.d.ts in the published package.

Also, package.json should have a "types" field.

"main": "index.js",
"types": "index.d.ts",

eslint-plugin-react version

v7.37.0

eslint version

NA

node version

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions