mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Changed export to make Knex interface available without
creating an instance. Allows to define migrations in Typescript
This commit is contained in:
Vendored
+3
-2
@@ -41,6 +41,8 @@ declare module "knex" {
|
||||
fn: any;
|
||||
}
|
||||
|
||||
function Knex( config : Config ) : Knex;
|
||||
|
||||
//
|
||||
// QueryInterface
|
||||
//
|
||||
@@ -452,6 +454,5 @@ declare module "knex" {
|
||||
tableName?: string;
|
||||
}
|
||||
|
||||
var _: KnexStatic;
|
||||
export = _;
|
||||
export = Knex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user