From 5c54e3d8e5d9d0c8ef95d6c4630f89b3ec92f25d Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Mon, 9 Jun 2025 22:46:46 +0700 Subject: [PATCH] fix(lib/patcher/hooks/after): use correct type --- lib/patcher/src/hooks/after.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/patcher/src/hooks/after.ts b/lib/patcher/src/hooks/after.ts index 0e8c786..b935535 100644 --- a/lib/patcher/src/hooks/after.ts +++ b/lib/patcher/src/hooks/after.ts @@ -4,16 +4,11 @@ import { unproxy, } from '../_internal' import type { HookNode, PatchedFunctionProxyState } from '../_internal' -import type { - AfterHook, - BeforeHook, - FiniteDomain, - UnknownFunction, -} from '../types' +import type { AfterHook, FiniteDomain, UnknownFunction } from '../types' function unpatchAfter( state: PatchedFunctionProxyState, - hookNode: HookNode>, + hookNode: HookNode>, ) { if (hookNode.unpatched) return