You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by gl...@apache.org on 2020/02/13 14:05:30 UTC

[couchdb-nano] branch master updated: Fix for issue 189 (#190)

This is an automated email from the ASF dual-hosted git repository.

glynnbird pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git


The following commit(s) were added to refs/heads/master by this push:
     new b9c5583  Fix for issue 189 (#190)
b9c5583 is described below

commit b9c5583056af0d459d48dd8348d405c7fa57fb59
Author: Belisarith <jf...@googlemail.com>
AuthorDate: Thu Feb 13 15:05:23 2020 +0100

    Fix for issue 189 (#190)
---
 lib/nano.d.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/nano.d.ts b/lib/nano.d.ts
index 5d1abd4..ea22e95 100644
--- a/lib/nano.d.ts
+++ b/lib/nano.d.ts
@@ -1342,7 +1342,7 @@ declare namespace nano {
   interface MangoResponse<D> {
     // Array of documents matching the search. In each matching document, the fields specified in
     // the fields part of the request body are listed, along with their values.
-    docs: D[];
+    docs: (D & {_id: string, _rev:string})[];
 
     // A string that enables you to specify which page of results you require. Used for paging through result sets.
     bookmark?: string;