fix(server): preserve plain JSON Schema in deprecated server.tool() overload #1617
+126
−5
Annotations
2 errors
|
Build
Process completed with exit code 2.
|
|
Build:
src/server/mcp.ts#L150
Conversion of type 'AnySchema | undefined' to type '{ [x: string]: unknown; type: "object"; properties?: { [x: string]: object; } | undefined; required?: string[] | undefined; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Loading