feat(wip): dexie provider for the web platform #2
Annotations
6 errors
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>'.
|
lib/storage/providers/DexieProvider.ts#L46
Type '(pairs: KeyValuePairList) => PromiseExtended<(string | void | QueryResult)[]>' is not assignable to type '(pairs: KeyValuePairList) => Promise<void | BatchQueryResult | IDBValidKey[]>'.
|
lib/storage/providers/DexieProvider.ts#L65
Type '(pairs: KeyValuePairList) => PromiseExtended<string>' is not assignable to type '(pairs: KeyValuePairList) => Promise<void | BatchQueryResult>'.
|
lib/storage/providers/DexieProvider.ts#L75
Type '() => PromiseExtended<IndexableTypeArray>' is not assignable to type '() => Promise<KeyList>'.
|
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>>'.
|
|
This job failed
Loading