Skip to content

feat(wip): dexie provider for the web platform #2

feat(wip): dexie provider for the web platform

feat(wip): dexie provider for the web platform #2

Triggered via pull request August 30, 2024 10:05
Status Failure
Total duration 37s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: lib/storage/providers/DexieProvider.ts#L35
Type '<TKey extends string>(key: TKey, value: OnyxValue<TKey>) => Promise<void | QueryResult> | PromiseExtended<string>' is not assignable to type '<TKey extends string>(key: TKey, value: OnyxValue<TKey>) => Promise<void | QueryResult>'.
lint: lib/storage/providers/DexieProvider.ts#L46
Type '(pairs: KeyValuePairList) => PromiseExtended<(string | void | QueryResult)[]>' is not assignable to type '(pairs: KeyValuePairList) => Promise<void | BatchQueryResult | IDBValidKey[]>'.
lint: lib/storage/providers/DexieProvider.ts#L65
Type '(pairs: KeyValuePairList) => PromiseExtended<string>' is not assignable to type '(pairs: KeyValuePairList) => Promise<void | BatchQueryResult>'.
lint: lib/storage/providers/DexieProvider.ts#L75
Type '() => PromiseExtended<IndexableTypeArray>' is not assignable to type '() => Promise<KeyList>'.
lint: lib/storage/providers/DexieProvider.ts#L78
Type '<TKey extends string>(key: TKey) => PromiseExtended<{} | OnyxValue<TKey> | null>' is not assignable to type '<TKey extends string>(key: TKey) => Promise<OnyxValue<TKey>>'.
lint
Process completed with exit code 2.