Skip to content

Typings not picked when using ESM #42

@LinusU

Description

@LinusU

When using "module": "node16" TypeScript is unable to find the typings for the package.

Could not find a declaration file for module 'timezone-support'. 'foo/node_modules/timezone-support/dist/index.mjs' implicitly has an 'any' type.

Since the file imported is dist/index.mjs, TypeScript looks for a dist/index.d.mts file which doesn't exist.

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