Skip to content

Commit

Permalink
fix for queryBuilder typing
Browse files Browse the repository at this point in the history
  • Loading branch information
1mike12 committed Jul 22, 2024
1 parent 21a3b16 commit 5a1bdde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions typings/objection/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,9 @@ declare namespace Objection {
}

export class QueryBuilder<M extends Model, R = M[]> implements CatchablePromiseLike<R> {

constructor(modelClass: ModelClass<M>);
new(modelClass: ModelClass<M>): QueryBuilder<M>;
static forClass: ForClassMethod;

select: SelectMethod<this>;
Expand Down

0 comments on commit 5a1bdde

Please sign in to comment.