Skip to content

Incorrect label in the timeline "Typescript types removed" #2791

@Ayc0

Description

@Ayc0

Describe the bug

For the package @blocz/react-responsive, I merged for the 4.0.1 release (that was later unpublished from NPM so depending on what you see in npmx it might be the 5.0.0) this PR: bloczjs/react-responsive#144 that removes types: <>; exports: { types: <> } in the package.json

Image Image

But when you check the files, it's because instead of having 1 declaration file, I now generate 1 per file (see .d.cts & .d.mts):

Image

I don't fully know if this is because the top-level types was removed, or the one in exports: { types }, but I think that according to TS, this new config is fine (TS auto looks for .d.ts alongside files). And even in npmx, there is the badge "✔️ Types included"

Image

So I'm reporting this just in case

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    e18eRelates to incorporating, linking to, or collaborating with https://e18e.dev

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions