Skip to content

Commit 3d9e754

Browse files
glynnbirdGlynn Bird
andauthored
added missing TypeScript definition for findAsStream (#361)
Co-authored-by: Glynn Bird <[email protected]>
1 parent 3d754f8 commit 3d9e754

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/nano.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ declare namespace nano {
550550
/** Run Mango query.
551551
* @see Docs: {@link http://docs.couchdb.org/en/latest/api/database/find.html#db-find} */
552552
find(query: MangoQuery): Promise <MangoResponse<D>>;
553+
/** Run Mango query as a stream.
554+
* @see Docs: {@link http://docs.couchdb.org/en/latest/api/database/find.html#db-find} */
555+
findAsStream(query: MangoQuery): NodeJS.ReadStream;
553556
/** Server scope */
554557
server: ServerScope;
555558
/** Fetch information about a single partition in this database.

0 commit comments

Comments
 (0)