Skip to content

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

feat(wip): dexie provider for the web platform

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

Triggered via pull request August 29, 2024 14:08
Status Failure
Total duration 38s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: lib/storage/providers/DexieProvider.ts#L7
Type 'string' does not satisfy the constraint 'never'.
lint: lib/storage/providers/DexieProvider.ts#L23
Type '<TKey extends string>(key: TKey, value: OnyxValue<TKey>) => PromiseExtended<string>' is not assignable to type '<TKey extends string>(key: TKey, value: OnyxValue<TKey>) => Promise<void | QueryResult>'.
lint: lib/storage/providers/DexieProvider.ts#L28
Argument of type 'OnyxValue<TKey>' is not assignable to parameter of type 'InsertType<unknown, string>'.
lint: lib/storage/providers/DexieProvider.ts#L38
Type 'PromiseExtended<IndexableTypeArray>' is not assignable to type 'Promise<KeyList>'.
lint: lib/storage/providers/DexieProvider.ts#L39
Type 'PromiseExtended<unknown>' is not assignable to type 'Promise<OnyxValue<TKey>>'.
lint
Process completed with exit code 2.