Skip to content

Commit ed5666e

Browse files
committed
fix: add type support
1 parent 1ab7941 commit ed5666e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dag/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export interface DAGAPI {
222222
* Import all blocks from one or more CARs and optionally recursively pin the roots identified
223223
* within the CARs.
224224
*/
225-
import(sources: Iterable<Uint8Array> | AsyncIterable<Uint8Array> | AsyncIterable<AsyncIterable<Uint8Array>> | Iterable<AsyncIterable<Uint8Array>>, options?: DAGImportOptions): AsyncIterable<DAGImportResult>
225+
import(sources: ReadableStream<Uint8Array> | Iterable<Uint8Array> | AsyncIterable<Uint8Array> | AsyncIterable<AsyncIterable<Uint8Array>> | Iterable<AsyncIterable<Uint8Array>>, options?: DAGImportOptions): AsyncIterable<DAGImportResult>
226226
}
227227

228228
export function createDAG (client: HTTPRPCClient, codecs: Codecs): DAGAPI {

0 commit comments

Comments
 (0)