Skip to content

Commit fc5cdc7

Browse files
committed
fix ts
1 parent 89c15ad commit fc5cdc7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deco/mcp",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"exports": {
55
".": "./mod.ts",
66
"./http": "./mcp/http.ts"

mcp/server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ export type ListToolsMiddleware = RequestMiddleware<
215215

216216
export type CallToolMiddleware = RequestMiddleware<
217217
z.infer<typeof CallToolRequestSchema>,
218-
{ content: { type: "text"; text: string }[] }
218+
// deno-lint-ignore no-explicit-any
219+
{ structuredContent: any }
219220
>;
220221

221222
function registerTools<TManifest extends AppManifest>(

0 commit comments

Comments
 (0)