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/03/03 09:25:20 UTC

[couchdb-nano] branch issue211 created (now 6c419fb)

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

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


      at 6c419fb  improve MangoSelector TypeScript type - fixes issue #211

This branch includes the following new commits:

     new 6c419fb  improve MangoSelector TypeScript type - fixes issue #211

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb-nano] 01/01: improve MangoSelector TypeScript type - fixes issue #211

Posted by gl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 6c419fbb82b7d0c4b402af5e9e08697c4e679833
Author: Glynn Bird <gl...@apache.org>
AuthorDate: Tue Mar 3 09:25:06 2020 +0000

    improve MangoSelector TypeScript type - fixes issue #211
---
 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 08d245f..8484c4a 100644
--- a/lib/nano.d.ts
+++ b/lib/nano.d.ts
@@ -1284,7 +1284,7 @@ declare namespace nano {
                     '$in' | '$nin' | '$size' | '$mod' | '$regex' |
                     '$or' | '$and' | '$nor' | '$not' | '$all' | '$allMatch' | '$elemMatch';
   type MangoSelector = {
-    [K in MangoOperator]: MangoSelector | MangoValue | MangoValue[];
+    [K in MangoOperator | string]: MangoSelector | MangoValue | MangoValue[];
   }
 
   // http://docs.couchdb.org/en/latest/api/database/find.html#sort-syntax