Skip to content

ES Module Import Error #189

@b0o

Description

@b0o

I'm getting the following error when importing lib-r-math.js into an ES module:

1. Could not find a declaration file for module 'lib-r-math.js'. 'node_modules/.pnpm/lib-r-math.js@2.0.0/node_modules/lib-r-math.js/dist/esm/index.mjs' implicitly has an 'any' type.
     There are types at 'node_modules/lib-r-math.js/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'lib-r-math.js' library may need to update its package.json or typings. [7016]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions