Add typings exports (#1623)
This commit is contained in:
parent
ddadaa6cc6
commit
c95cc0943b
1 changed files with 9 additions and 0 deletions
5
.changeset/add-types-export-condition.md
Normal file
5
.changeset/add-types-export-condition.md
Normal 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.
|
||||
Loading…
Reference in a new issue