Skip to content

New problem kind: cjs-module-lexer incompatibility #35

@andrewbranch

Description

@andrewbranch

When node16-esm resolves to a CJS module with types, we should run https://github.com/nodejs/cjs-module-lexer on it and compare the named exports visible to Node with the ones visible to TypeScript, and error for any that TS says are available that wouldn’t work in Node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestplannedI'm going to do this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions