From ea7ace3ea11f53a2c87570c105b95bd68c2871ee Mon Sep 17 00:00:00 2001 From: Steven Scott Date: Thu, 6 Feb 2020 12:18:12 -0500 Subject: [PATCH] Add missing field to PouchDB.Find.FindResponse (#42161) > You may also want to pay attention to the "warning" value included in your results set, indicating that there was no index that matched the given query. https://pouchdb.com/guides/mango-queries.html --- types/pouchdb-find/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/pouchdb-find/index.d.ts b/types/pouchdb-find/index.d.ts index 47ebf6e3e5..a8f8b95c31 100644 --- a/types/pouchdb-find/index.d.ts +++ b/types/pouchdb-find/index.d.ts @@ -102,6 +102,7 @@ declare namespace PouchDB { interface FindResponse { docs: Array>; + warning?: string; } interface CreateIndexOptions {