couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From glynnb...@apache.org
Subject [couchdb-nano] branch master updated: When docs are included, returned objects are expected to be documents (#153)
Date Thu, 02 May 2019 14:22:18 GMT
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 dc47448  When docs are included, returned objects are expected to be documents (#153)
dc47448 is described below

commit dc47448609f145def915afde4db036ee51201740
Author: Mickael Lecoq <mickael@lecoq.me>
AuthorDate: Thu May 2 16:22:14 2019 +0200

    When docs are included, returned objects are expected to be documents (#153)
---
 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 5c165c5..4175bb1 100644
--- a/lib/nano.d.ts
+++ b/lib/nano.d.ts
@@ -1175,7 +1175,7 @@ declare namespace nano {
       id: string;
       key: string;
       value: V;
-      doc?: D;
+      doc?: D & Document;
     }>;
 
     // Number of documents in the database/view.


Mime
View raw message