mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
chore: remove unnecessary TypeScript error suppression (#1571)
This commit is contained in:
parent
2c67b26b5d
commit
c9187a9f3a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user