From 579ed18aaac30331e6482347f3cb0c6125cef5bb Mon Sep 17 00:00:00 2001 From: Ed Bishop Date: Fri, 27 Oct 2017 12:46:49 +0100 Subject: [PATCH] Get results are also writeable --- 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 983d401b72..4ef00ecb09 100644 --- a/types/rethinkdb/index.d.ts +++ b/types/rethinkdb/index.d.ts @@ -244,7 +244,7 @@ declare module "rethinkdb" { insert(obj: any[], options?: InsertOptions): Operation; insert(obj: any, options?: InsertOptions): Operation; - get(key: string): Operation; + get(key: string): Operation & Writeable; getAll(key: string, index?: Index): Sequence; // without index defaults to primary key getAll(...keys: string[]): Sequence; wait(WaitOptions?: WaitOptions): WaitResult;