8 Commits
Author SHA1 Message Date
Ryan Smith 84ae09b624 Attempts to fix remaining errors.
```
knex/knex-tests.ts(502,9): error TS2345: Argument of type '(names: string) => void' is not assignable to parameter of type '(value: string[]) => void | PromiseLike<void>'.
  Types of parameters 'names' and 'value' are incompatible.
    Type 'string' is not assignable to type 'string[]'.
knex/knex-tests.ts(522,4): error TS2339: Property 'bind' does not exist on type 'QueryBuilder'.
knex/knex-tests.ts(533,35): error TS2339: Property 'return' does not exist on type 'QueryBuilder'.
```

https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/119593429
2016-03-30 18:29:30 +01:00
Ryan Smith ff6d2d2b90 Attempts to fix new errors.
```
knex/knex-tests.ts(500,16): error TS2339: Property 'name' does not exist on type 'string'.
knex/knex-tests.ts(502,9): error TS2345: Argument of type '(names: string) => void' is not assignable to parameter of type '(value: any[]) => void | PromiseLike<void>'.
  Types of parameters 'names' and 'value' are incompatible.
    Type 'string' is not assignable to type 'any[]'.
```

https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/119592117
2016-03-30 18:22:39 +01:00
Ryan Smith 905ee7e6f5 Attempts to fix more TS2339 errors.
```
knex/knex-tests.ts(498,45): error TS2339: Property 'map' does not exist on type 'QueryBuilder'.
knex/knex-tests.ts(506,45): error TS2339: Property 'reduce' does not exist on type 'QueryBuilder'.
```

https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/119590526
2016-03-30 18:18:16 +01:00
Ryan Smith 7fb76f6e39 Fixes most TS2339 and all TS7006 errors. 2016-03-30 18:11:16 +01:00
Alexander Hense bae73a583a Make connection optional for knex Config
It is possible to use knex as a pure query builder without any database
connection. This is specified in the knex documentation.
2016-03-21 16:09:06 +01:00
Jon Sheppard 51e1f71209 Add a configuration config object that supports mariasql client syntax 2016-02-17 23:00:21 +11:00
DomiR 808a31e15f (feature) Fist step to upgrade lodash to 4.0.0 2016-01-23 14:39:10 +01:00
Tanguy Krotoff 39c9c5637d Should be knex-tests.ts instead of knex-test.ts 2015-10-23 20:27:56 +02:00