Skip to content

Using moduleResolution NodeNext breaks type definitions for importing #757

@rachaeldawn

Description

@rachaeldawn

Typescript reports that there are no type definitions when using NodeNext for "moduleResolution": "NodeNext", but not "moduleResolution": "node". This is true on the 22.3.0 build.

Please see this repo for a minimal reproduction.

I am currently working on a fix, just verifying. This is the repo I am using for the fix. Check the branch fix-demo on the reproduction to see fixes in action.

I don't know what the process is for creating a PR. Could someone direct me to how to go about that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtypingsTypescript public type definitions issues

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions