fix: Improve fastMerge, Onyx.merge and combine merge functions in OnyxUtils
#13
Annotations
7 errors
|
lint
Process completed with exit code 2.
|
|
lint:
tests/unit/onyxUtilsTest.ts#L162
Argument of type 'DeepRecord<string, unknown>' is not assignable to parameter of type 'string | number | undefined'.
|
|
lint:
lib/storage/index.ts#L139
Parameter 'pair' implicitly has an 'any' type.
|
|
lint:
lib/storage/index.ts#L136
Expected 1 arguments, but got 2.
|
|
lint:
lib/storage/index.ts#L134
Parameter 'mergeReplaceNullPatches' implicitly has an 'any' type.
|
|
lint:
lib/storage/index.ts#L134
Parameter 'pairs' implicitly has an 'any' type.
|
|
lint:
lib/storage/index.ts#L134
Type '(pairs: any, mergeReplaceNullPatches: any) => Promise<void>' is not assignable to type '(pairs: StorageKeyValuePair[]) => Promise<void>'.
|