From 5a1bddee731fcc4811916c0ae24e0f07b03c1129 Mon Sep 17 00:00:00 2001 From: Michael Qin <1mike12@gmail.com> Date: Mon, 22 Jul 2024 11:44:02 -0400 Subject: [PATCH] fix for queryBuilder typing fixes https://github.com/Vincit/objection.js/pull/2232 --- typings/objection/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/typings/objection/index.d.ts b/typings/objection/index.d.ts index 8ec8519c7..5831df652 100644 --- a/typings/objection/index.d.ts +++ b/typings/objection/index.d.ts @@ -854,6 +854,9 @@ declare namespace Objection { } export class QueryBuilder implements CatchablePromiseLike { + + constructor(modelClass: ModelClass); + new(modelClass: ModelClass): QueryBuilder; static forClass: ForClassMethod; select: SelectMethod;