Add public Knex API QueryBuilder.on() event hook

This commit is contained in:
SLathrop
2016-06-18 17:25:18 -04:00
parent 74ae4799a8
commit 229eb44eaf
+1
View File
@@ -31,6 +31,7 @@ declare module "knex" {
migrate: Knex.Migrator;
seed: any;
fn: any;
on(eventName: string, callback: Function): Knex.QueryBuilder;
}
function Knex(config: Knex.Config) : Knex;