mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-01 11:50:54 +08:00
Create files
This commit is contained in:
committed by
kubo_takaichi
parent
be0b6b394f
commit
070ce8218c
@@ -0,0 +1,3 @@
|
||||
/// <reference path='knex.d.ts' />
|
||||
|
||||
import Knex = require('knex');
|
||||
Vendored
+36
@@ -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 = _;
|
||||
}
|
||||
Reference in New Issue
Block a user