From aa7626908fb31fb4f2385e2ad9f98dca78e3ddf3 Mon Sep 17 00:00:00 2001 From: Gregory Ristow Date: Fri, 10 Aug 2018 08:41:30 -0400 Subject: [PATCH] fix(rethinkdb): compound index not optional in getAll --- types/rethinkdb/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/rethinkdb/index.d.ts b/types/rethinkdb/index.d.ts index 820c1b5f11..87293230a9 100644 --- a/types/rethinkdb/index.d.ts +++ b/types/rethinkdb/index.d.ts @@ -317,7 +317,7 @@ declare module "rethinkdb" { * See [getAll](https://www.rethinkdb.com/api/javascript/get_all/) and * [compound indexes](https://www.rethinkdb.com/docs/secondary-indexes/javascript/#compound-indexes) */ - getAll(compoundKey: string[], compoundKey2: string[], index?: Index): Sequence; // without index defaults to primary key + getAll(compoundKey: string[], compoundKey2: string[], index: Index): Sequence; // without index defaults to primary key /** * Get all documents matching 2 or more compound index keys. * See [getAll](https://www.rethinkdb.com/api/javascript/get_all/) and