refactor: Use util fn instead of Array.fromAsync #2827
Annotations
10 errors and 5 warnings
build
Expected 0 type arguments, but got 1.
|
build
Module '"@fireproof/core"' has no exported member 'AllDocsQueryOpts'.
|
build
Property 'subscribe' does not exist on type 'Ledger<{}>'.
|
build
Parameter 'changes' implicitly has an 'any' type.
|
build
Parameter 'c' implicitly has an 'any' type.
|
build
Expected 2 type arguments, but got 3.
|
build
Argument of type '{ docs: any; snapshot(opts?: { since?: ClockHead; } & ChangesOptions): AsyncGenerator<DocWithId<T>, any, any>; live(opts?: { since?: ClockHead; } & ChangesOptions): ReadableStream<...>; future(): ReadableStream<...>; subscribe(callback: (doc: DocWithId<...>) => void): () => void; toArray(opts?: { since?: ClockHead; ...' is not assignable to parameter of type 'SetStateAction<LiveQueryResult<T, K, R>>'.
|
build
Property 'rows' does not exist on type 'QueryResponse<T>'.
|
build
Parameter 'r' implicitly has an 'any' type.
|
build
Property 'subscribe' does not exist on type 'Ledger<{}>'.
|
lint:
smoke/esm/src/index.test.ts#L6
Unexpected console statement
|
lint:
smoke/esm/src/index.test.ts#L8
Unexpected console statement
|
lint:
smoke/esm/src/index.test.ts#L10
Unexpected console statement
|
Post Install pnpm
Unexpected input(s) 'cache', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Install pnpm
Unexpected input(s) 'cache', valid inputs are ['version', 'dest', 'run_install', 'package_json_file', 'standalone']
|
Loading