From 22714218745d752d40da36107974e96e4f387eb2 Mon Sep 17 00:00:00 2001 From: waiting <1661926154@qq.com> Date: Tue, 24 Sep 2024 15:00:41 +0800 Subject: [PATCH] chore: lint fix --- packages/win32-def/src/lib/loader/loader.cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/win32-def/src/lib/loader/loader.cache.ts b/packages/win32-def/src/lib/loader/loader.cache.ts index 577ce088..55894219 100644 --- a/packages/win32-def/src/lib/loader/loader.cache.ts +++ b/packages/win32-def/src/lib/loader/loader.cache.ts @@ -51,7 +51,7 @@ export class LoaderCache { const cacheMap = LoaderCache.regCacheMap.get(lib) const map = cacheMap?.get(fnName) if (map?.size) { - const arr = map.entries().next().value as [FnDefArgs, KoffiFunction] | undefined + const arr = map.entries().next().value const ret = arr?.[1] return ret }