chore: remove unnecessary TypeScript error suppression (#1571)
This commit is contained in:
@@ -63,10 +63,8 @@ export namespace Plugin {
|
|||||||
if (!fn) return output
|
if (!fn) return output
|
||||||
const path = fn.split(".")
|
const path = fn.split(".")
|
||||||
for (const hook of await state().then((x) => x.hooks)) {
|
for (const hook of await state().then((x) => x.hooks)) {
|
||||||
// @ts-expect-error
|
|
||||||
const fn = pathOr(hook, path, undefined)
|
const fn = pathOr(hook, path, undefined)
|
||||||
if (!fn) continue
|
if (!fn) continue
|
||||||
// @ts-expect-error
|
|
||||||
await fn(input, output)
|
await fn(input, output)
|
||||||
}
|
}
|
||||||
return output
|
return output
|
||||||
|
|||||||
Reference in New Issue
Block a user