Skip to content

Commit 5a628c7

Browse files
bhosmer-antclaude
andcommitted
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 <[email protected]>
1 parent e7e4745 commit 5a628c7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

client/src/components/ToolsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const ToolsTab = ({
104104
message: "Parsed JSON does not match structured content",
105105
};
106106
}
107-
} catch (e) {
107+
} catch {
108108
return {
109109
isCompatible: false,
110110
message: "Unstructured content is not valid JSON",

client/src/utils/__tests__/schemaUtils.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ describe("Output Schema Validation", () => {
231231
description: "Tool with invalid schema",
232232
inputSchema: { type: "object", properties: {} },
233233
outputSchema: {
234-
type: "invalid-type" as any,
234+
// @ts-expect-error Testing with invalid type
235+
type: "invalid-type",
235236
},
236237
},
237238
];

0 commit comments

Comments
 (0)