From dd42fdc02d6c1c320a8f309c3a883db46783ff3d Mon Sep 17 00:00:00 2001 From: Yair Date: Fri, 15 Aug 2025 10:07:58 +0300 Subject: [PATCH] fromPairs() accepts readonly tuples --- types/fromPairs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/fromPairs.d.ts b/types/fromPairs.d.ts index f7fdee7..3310b82 100644 --- a/types/fromPairs.d.ts +++ b/types/fromPairs.d.ts @@ -1,3 +1,3 @@ export function fromPairs( - pairs: readonly [K, V][] + pairs: readonly (readonly [K, V])[] ): { [P in K]: V };