From c77be83f4da9447552437baad00b8c1e35ba7916 Mon Sep 17 00:00:00 2001 From: Olgierd Date: Thu, 5 Feb 2026 17:11:45 +0100 Subject: [PATCH] Remove default OnyxKey type argument in OnyxUpdate --- lib/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types.ts b/lib/types.ts index 94b6622b..a4f96235 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -334,7 +334,7 @@ type ExpandOnyxKeys = TKey extends CollectionKeyBase ? NoI * If a new method is added to OnyxUtils.METHOD constant, it must be added to OnyxMethodValueMap type. * Otherwise it will show static type errors. */ -type OnyxUpdate = { +type OnyxUpdate = { // ⚠️ DO NOT CHANGE THIS TYPE, UNLESS YOU KNOW WHAT YOU ARE DOING. ⚠️ [K in TKey]: | {onyxMethod: typeof OnyxUtils.METHOD.SET; key: ExpandOnyxKeys; value: OnyxSetInput}