Skip to content

Commit

Permalink
Fix QueryBuilder.extend this type (knex#3526)
Browse files Browse the repository at this point in the history
  • Loading branch information
iki committed Dec 7, 2019
1 parent 65c6ebc commit 1df4d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -1978,7 +1978,7 @@ declare namespace Knex {
static extend(
methodName: string,
fn: <TRecord extends {} = any, TResult = unknown[]>(
this: Knex<TRecord, TResult>,
this: QueryBuilder<TRecord, TResult>,
...args: any[]
) => QueryBuilder<TRecord, TResult>
): void;
Expand Down

0 comments on commit 1df4d7f

Please sign in to comment.