The open source coding agent.
TypeScript
chore: remove unnecessary TypeScript error suppression (#1571)
Yordis Prietoc9187a9f3ab8
diff --git a/packages/opencode/src/plugin/index.ts b/packages/opencode/src/plugin/index.tsindex 59830aa545f..4b38cb3bb6e 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 outputconst path = fn.split(".")for (const hook of await state().then((x) => x.hooks)) {- // @ts-expect-errorconst fn = pathOr(hook, path, undefined)if (!fn) continue- // @ts-expect-errorawait fn(input, output)}return output