From 1df4d7f18f0f05b33faa56229e11cb172a884516 Mon Sep 17 00:00:00 2001 From: Jan Killian Date: Fri, 8 Nov 2019 18:46:57 +0100 Subject: [PATCH] Fix QueryBuilder.extend this type (#3526) --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index c06eac7835..889fa90d41 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1978,7 +1978,7 @@ declare namespace Knex { static extend( methodName: string, fn: ( - this: Knex, + this: QueryBuilder, ...args: any[] ) => QueryBuilder ): void;