mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
[bookshelf] Add missing parameters to the Collection.through method (#50125)
This commit is contained in:
2
types/bookshelf/index.d.ts
vendored
2
types/bookshelf/index.d.ts
vendored
@@ -164,7 +164,7 @@ declare namespace Bookshelf {
|
||||
*/
|
||||
save(key?: string, val?: any, options?: SaveOptions): BlueBird<T>;
|
||||
save(attrs?: { [key: string]: any }, options?: SaveOptions): BlueBird<T>;
|
||||
through<R extends Model<any>>(interim: ModelSubclass, throughForeignKey?: string, otherKey?: string): R;
|
||||
through<R extends Model<any>>(interim: ModelSubclass, throughForeignKey?: string, otherKey?: string, throughForeignKeyTarget?: string, otherKeyTarget?: string): R;
|
||||
where(properties: { [key: string]: any }): T;
|
||||
where(
|
||||
key: string,
|
||||
|
||||
Reference in New Issue
Block a user