chore: Enable typescript/no-explicit-any rule.

This commit is contained in:
cpojer
2026-02-02 15:45:05 +09:00
parent baa1e95b9d
commit 935a0e5708
65 changed files with 248 additions and 80 deletions

View File

@@ -25,6 +25,7 @@ export type InlineActionResult =
abortedLastRun: boolean;
};
// oxlint-disable-next-line typescript/no-explicit-any
function extractTextFromToolResult(result: any): string | null {
if (!result || typeof result !== "object") {
return null;
@@ -193,6 +194,7 @@ export async function handleInlineActions(params: {
command: rawArgs,
commandName: skillInvocation.command.name,
skillName: skillInvocation.command.skillName,
// oxlint-disable-next-line typescript/no-explicit-any
} as any);
const text = extractTextFromToolResult(result) ?? "✅ Done.";
typing.cleanup();