Cannnot resolve typescript types with TypeScript ESM using moduleResolution NodeNext
tom-sherman opened this issue · 0 comments
tom-sherman commented
See https://github.com/tom-sherman/uvu-typescript-esm-bug
tsconfig.json:
{
"compilerOptions": {
"strict": true,
"module": "ESNext",
"moduleResolution": "NodeNext"
}
}
I believe you need to include a types
under each entry in exports
to fix this.