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 2019/05/02 14:22:18 UTC

[couchdb-nano] branch master updated: When docs are included, returned objects are expected to be documents (#153)

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 <mi...@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.