From 301e69ac1f65845d663a11db41fa9e418b10e4d7 Mon Sep 17 00:00:00 2001 From: afeiship <1290657123@qq.com> Date: Sat, 17 Aug 2024 13:01:34 +0800 Subject: [PATCH] fix: typping nx.map --- types/nx.static.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/nx.static.d.ts b/types/nx.static.d.ts index a4e71a4..3baac07 100644 --- a/types/nx.static.d.ts +++ b/types/nx.static.d.ts @@ -86,7 +86,7 @@ interface NxStatic { * @param callback * @param context */ - map(target: any, callback: Nx.MapIterator, context?): void; + map(target: any, callback: Nx.MapIterator, context?): any[]; /** * Merge object.