Skip to content

Type declarations are published at the wrong path since 0.11.0 #2

Description

@jhy

Hi, thanks for your Virtual Scroll component, it's really cool.

When used in a Typescript application, the manifest points to the wrong location for the types, so a build fails.

It worked in 0.10.3 and appears to have regressed in 0.11.0.

The package manifest declares ./dist/index.d.ts in both the types field and package exports.

The published packages contain:

  • 0.10.3: dist/index.d.ts
  • 0.11.0: dist/src/index.d.ts
  • 0.11.1: dist/src/index.d.ts

As a result, TypeScript cannot resolve the package declarations in 0.11.0 or 0.11.1.

Could the declaration output be restored at dist/index.d.ts, or the package manifest be updated to reference the published location?

Or, let me know if I have missed something?

Thanks,
Jonathan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions