Add typings exports (#1623)

This commit is contained in:
Thomas Draier 2026-03-26 21:36:24 +01:00 • committed by GitHub
commit c95cc0943b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,5 @@
---
'@modelcontextprotocol/sdk': patch
---
Add `"types"` condition to `exports` map for subpath imports (`.`, `./client`, `./server`, `./*`), enabling TypeScript to resolve type declarations with `moduleResolution: "bundler"` or `"node16"` without requiring manual `tsconfig.json` `paths` workarounds.