From 68fb3b7b5ae0475229d63d71e2884fe74b7e6e26 Mon Sep 17 00:00:00 2001 From: Ville Lahdenvuo Date: Fri, 8 Jan 2016 16:50:03 +0200 Subject: [PATCH] Add static plugin method to definitions. --- bookshelf/bookshelf.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bookshelf/bookshelf.d.ts b/bookshelf/bookshelf.d.ts index e0278df261..95aa384081 100644 --- a/bookshelf/bookshelf.d.ts +++ b/bookshelf/bookshelf.d.ts @@ -18,6 +18,7 @@ declare module 'bookshelf' { Model : typeof Bookshelf.Model; Collection : typeof Bookshelf.Collection; + plugin(name: string) : Bookshelf; transaction(callback : (transaction : knex.Transaction) => T) : Promise; }