react-native-onyx 3.0.35 → 3.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -274,7 +274,7 @@ type ExpandOnyxKeys<TKey extends OnyxKey> = TKey extends CollectionKeyBase ? NoI
|
|
|
274
274
|
* If a new method is added to OnyxUtils.METHOD constant, it must be added to OnyxMethodValueMap type.
|
|
275
275
|
* Otherwise it will show static type errors.
|
|
276
276
|
*/
|
|
277
|
-
type OnyxUpdate<TKey extends OnyxKey
|
|
277
|
+
type OnyxUpdate<TKey extends OnyxKey> = {
|
|
278
278
|
[K in TKey]: {
|
|
279
279
|
onyxMethod: typeof OnyxUtils.METHOD.SET;
|
|
280
280
|
key: ExpandOnyxKeys<K>;
|