From 4147e21a3aa170d994f780fa05347aa1f20ab46d Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 29 Apr 2025 16:12:17 +0200 Subject: [PATCH] chore: fix update-readme TS linting (#296) --- utils/update-readme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/update-readme.js b/utils/update-readme.js index 15f9cbf..31d1120 100644 --- a/utils/update-readme.js +++ b/utils/update-readme.js @@ -112,7 +112,7 @@ function formatToolForReadme(tool) { * @returns {ParsedToolSchema} */ function processToolSchema(schema) { - const inputSchema = /** @type {import('zod-to-json-schema').JsonSchema7ObjectType} */ zodToJsonSchema(schema.inputSchema || {}); + const inputSchema = /** @type {import('zod-to-json-schema').JsonSchema7ObjectType} */ (zodToJsonSchema(schema.inputSchema || {})); if (inputSchema.type !== 'object') throw new Error(`Tool ${schema.name} input schema is not an object`);