From b26786eade45d9487e62b708afe5a88771cd4d3a Mon Sep 17 00:00:00 2001 From: Valentin Duricu Date: Tue, 15 Dec 2020 19:07:25 +0200 Subject: [PATCH] [bookshelf] Add missing parameters to the Collection.through method (#50125) --- types/bookshelf/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bookshelf/index.d.ts b/types/bookshelf/index.d.ts index fe4af7fcac..2b777c83e0 100644 --- a/types/bookshelf/index.d.ts +++ b/types/bookshelf/index.d.ts @@ -164,7 +164,7 @@ declare namespace Bookshelf { */ save(key?: string, val?: any, options?: SaveOptions): BlueBird; save(attrs?: { [key: string]: any }, options?: SaveOptions): BlueBird; - through>(interim: ModelSubclass, throughForeignKey?: string, otherKey?: string): R; + through>(interim: ModelSubclass, throughForeignKey?: string, otherKey?: string, throughForeignKeyTarget?: string, otherKeyTarget?: string): R; where(properties: { [key: string]: any }): T; where( key: string,