mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #21070 from mredbishop/patch-5
Get results are also writeable
This commit is contained in:
Vendored
+1
-1
@@ -244,7 +244,7 @@ declare module "rethinkdb" {
|
||||
insert(obj: any[], options?: InsertOptions): Operation<WriteResult>;
|
||||
insert(obj: any, options?: InsertOptions): Operation<WriteResult>;
|
||||
|
||||
get<TObjectType extends object>(key: string): Operation<TObjectType | null>;
|
||||
get<TObjectType extends object>(key: string): Operation<TObjectType | null> & Writeable;
|
||||
getAll(key: string, index?: Index): Sequence; // without index defaults to primary key
|
||||
getAll(...keys: string[]): Sequence;
|
||||
wait(WaitOptions?: WaitOptions): WaitResult;
|
||||
|
||||
Reference in New Issue
Block a user