From d3c388b04df9af767a9ded188c566a772227d1ce Mon Sep 17 00:00:00 2001 From: Shantanu Raj Date: Tue, 15 Mar 2016 17:31:12 +0530 Subject: [PATCH] options param in destroy is optional --- bookshelf/bookshelf.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookshelf/bookshelf.d.ts b/bookshelf/bookshelf.d.ts index 1532085847..ca93456bb9 100644 --- a/bookshelf/bookshelf.d.ts +++ b/bookshelf/bookshelf.d.ts @@ -88,7 +88,7 @@ declare module 'bookshelf' { belongsTo>(target : {new(...args : any[]) : R}, foreignKey? : string) : R; belongsToMany>(target : {new(...args : any[]) : R}, table? : string, foreignKey? : string, otherKey? : string) : Collection; count(column? : string, options? : SyncOptions) : Promise; - destroy(options : SyncOptions) : Promise; + destroy(options? : SyncOptions) : Promise; fetch(options? : FetchOptions) : Promise; fetchAll(options? : FetchAllOptions) : Promise>; hasMany>(target : {new(...args : any[]) : R}, foreignKey? : string) : Collection;