From a050e87c0467b3e82d2eb0abed5ad53ff4bb63e2 Mon Sep 17 00:00:00 2001 From: dwelle <5153846+dwelle@users.noreply.github.com> Date: Tue, 6 May 2025 13:34:31 +0200 Subject: [PATCH] fix type --- packages/common/src/utility-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/common/src/utility-types.ts b/packages/common/src/utility-types.ts index 02b3a4e00..55f5aaa3d 100644 --- a/packages/common/src/utility-types.ts +++ b/packages/common/src/utility-types.ts @@ -89,7 +89,7 @@ export type OutputAccumulator< : Accumulator extends MapAccumulator ? Map< OutputType extends { id: string } ? OutputType["id"] : string, - OutputType + [Attr] extends [never] ? OutputType : Attr > : Array; // -----------------------------------------------------------------------------