Create files

This commit is contained in:
kubo-takaichi
2015-03-27 23:53:26 +09:00
committed by kubo_takaichi
parent be0b6b394f
commit 070ce8218c
2 changed files with 39 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
/// <reference path='knex.d.ts' />
import Knex = require('knex');
+36
View File
@@ -0,0 +1,36 @@
// Type definitions for Knex.js
// Project: https://github.com/tgriesser/knex
// Definitions by: Qubo <https://github.com/tkQubo>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "knex" {
interface KnexStatic {
Clients: Clients;
new(): Knex;
}
interface Knex {
}
interface Clients {
"mysql": Function;
"mysql2": Function;
"maria": Function;
"mariadb": Function;
"mariasql": Function;
"oracle": Function;
"pg": Function;
"postgres": Function;
"postgresql": Function;
"sqlite": Function;
"sqlite3": Function;
"strong-oracle": Function;
"websql": Function;
"fdbsql": Function;
}
var _: KnexStatic;
export = _;
}