mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add static plugin method to definitions.
This commit is contained in:
1 parent
ba257a9b91
commit
68fb3b7b5a
1 file changed
+1
Vendored
+1
@@ -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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user