diff --git a/types/rethinkdb/index.d.ts b/types/rethinkdb/index.d.ts index f27b91b775..fca73dfdb6 100644 --- a/types/rethinkdb/index.d.ts +++ b/types/rethinkdb/index.d.ts @@ -238,11 +238,12 @@ declare module "rethinkdb" { indexCreate(name: string, index?: ExpressionFunction): Operation; indexDrop(name: string): Operation; indexList(): Operation; + indexWait(name?: string): Operation>; insert(obj: any[], options?: InsertOptions): Operation; insert(obj: any, options?: InsertOptions): Operation; - get(key: string): Sequence; // primary key + get(key: string): Operation; getAll(key: string, index?: Index): Sequence; // without index defaults to primary key getAll(...keys: string[]): Sequence; wait(WaitOptions?: WaitOptions): WaitResult;