mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Fix method .returning() and check if Promise exists before polyfilling it. (#9590)
* Check if Promise exists and fix returning * Remove the bluebird check
This commit is contained in:
committed by
Masahiro Wakame
parent
4e6d9cc32c
commit
51ffec4ea3
Vendored
+1
-1
@@ -127,7 +127,7 @@ declare module "knex" {
|
||||
insert(data: any, returning?: string | string[]): QueryBuilder;
|
||||
update(data: any, returning?: string | string[]): QueryBuilder;
|
||||
update(columnName: string, value: Value, returning?: string | string[]): QueryBuilder;
|
||||
returning(column: string): QueryBuilder;
|
||||
returning(column: string | string[]): QueryBuilder;
|
||||
|
||||
del(returning?: string | string[]): QueryBuilder;
|
||||
delete(returning?: string | string[]): QueryBuilder;
|
||||
|
||||
Reference in New Issue
Block a user