Add static plugin method to definitions.

This commit is contained in:
Ville Lahdenvuo
2016-01-08 16:50:03 +02:00
parent ba257a9b91
commit 68fb3b7b5a
+1
View File
@@ -18,6 +18,7 @@ declare module 'bookshelf' {
Model : typeof Bookshelf.Model;
Collection : typeof Bookshelf.Collection;
plugin(name: string) : Bookshelf;
transaction<T>(callback : (transaction : knex.Transaction) => T) : Promise<T>;
}