mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #7544 from tuhoojabotti/patch-1
Add static plugin method to definitions.
This commit is contained in:
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