Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannnot resolve typescript types with TypeScript ESM using moduleResolution NodeNext #210

Closed
tom-sherman opened this issue Jun 21, 2022 · 0 comments · Fixed by #209
Closed

Comments

@tom-sherman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant