Skip to content

fix: Improve fastMerge, Onyx.merge and combine merge functions in OnyxUtils #4

fix: Improve fastMerge, Onyx.merge and combine merge functions in OnyxUtils

fix: Improve fastMerge, Onyx.merge and combine merge functions in OnyxUtils #4

Re-run triggered May 16, 2025 16:52
Status Failure
Total duration 35s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint
Process completed with exit code 2.
lint: tests/unit/fastMergeTest.ts#L74
Type 'false' has no properties in common with type 'FastMergeOptions'.
lint: tests/unit/fastMergeTest.ts#L57
Type 'true' has no properties in common with type 'FastMergeOptions'.
lint: lib/storage/providers/SQLiteProvider.ts#L117
Type '<TKey extends string>(key: TKey, change: OnyxValue<TKey>) => Promise<void | BatchQueryResult | IDBValidKey[]>' is not assignable to type '<TKey extends string>(key: TKey, change: OnyxValue<TKey>) => Promise<void | BatchQueryResult>'.
lint: lib/storage/providers/MemoryOnlyProvider.ts#L77
Type '<TKey extends string>(key: TKey, change: OnyxValue<TKey>) => Promise<void | BatchQueryResult | IDBValidKey[]>' is not assignable to type '<TKey extends string>(key: TKey, change: OnyxValue<TKey>) => Promise<void | BatchQueryResult>'.
lint: lib/storage/providers/IDBKeyValProvider.ts#L61
Type '<TKey extends string>(key: TKey, change: OnyxValue<TKey>) => Promise<void | BatchQueryResult | IDBValidKey[]>' is not assignable to type '<TKey extends string>(key: TKey, change: OnyxValue<TKey>) => Promise<void | BatchQueryResult>'.