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}