fix: Fix lint errors

- Remove unused catch parameter in ToolsTab.tsx
- Replace 'as any' with @ts-expect-error in test for invalid schema

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Basil Hosmer 2025-05-27 19:35:43 -04:00
commit 5a628c7a00
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -104,7 +104,7 @@ const ToolsTab = ({
message: "Parsed JSON does not match structured content", message: "Parsed JSON does not match structured content",
}; };
} }
} catch (e) { } catch {
return { return {
isCompatible: false, isCompatible: false,
message: "Unstructured content is not valid JSON", message: "Unstructured content is not valid JSON",

View file

@ -231,7 +231,8 @@ describe("Output Schema Validation", () => {
description: "Tool with invalid schema", description: "Tool with invalid schema",
inputSchema: { type: "object", properties: {} }, inputSchema: { type: "object", properties: {} },
outputSchema: { outputSchema: {
type: "invalid-type" as any, // @ts-expect-error Testing with invalid type
type: "invalid-type",
}, },
}, },
]; ];