Skip to content

Commit 6ec057c

Browse files
committed
fix: emit ts declarations for mcp tools
1 parent d89e9ae commit 6ec057c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/mcp-tools/tsup.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { defineConfig } from 'tsup';
33
export default defineConfig({
44
entry: ['src/index.ts'],
55
format: ['esm'],
6-
dts: false,
7-
sourcemap: true,
6+
dts: {
7+
resolve: true,
8+
},
89
clean: true,
910
shims: true,
1011
});

tsconfig.base.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"compilerOptions": {
3-
"composite": true,
4-
"declarationMap": true,
5-
"emitDeclarationOnly": true,
63
"esModuleInterop": true,
74
"forceConsistentCasingInFileNames": true,
85
"importHelpers": true,

0 commit comments

Comments
 (0)