Skip to content

Type declarations do not accurately represent the package #20

@tpluscode

Description

@tpluscode

Hello. I noticed that with latest typescript, using moduleResolution: "Node16", the package stops working because it is not an ESM package (no type: "module") but the type declaration represents a module export default anylogger

I might propose to simply change that to export = anylogger but given that the source itself is written as a module and even bundled in the package, I might propose actually going for a "proper" dual package.

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