From c9187a9f3ab89ade99350dfc249edfd4d7332da6 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Sun, 3 Aug 2025 15:50:08 -0400 Subject: [PATCH] chore: remove unnecessary TypeScript error suppression (#1571) --- packages/opencode/src/plugin/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/opencode/src/plugin/index.ts b/packages/opencode/src/plugin/index.ts index 59830aa5..4b38cb3b 100644 --- a/packages/opencode/src/plugin/index.ts +++ b/packages/opencode/src/plugin/index.ts @@ -63,10 +63,8 @@ export namespace Plugin { if (!fn) return output const path = fn.split(".") for (const hook of await state().then((x) => x.hooks)) { - // @ts-expect-error const fn = pathOr(hook, path, undefined) if (!fn) continue - // @ts-expect-error await fn(input, output) } return output