Skip to content

Commit

Permalink
Add from method to ReferenceBuilder interface
Browse files Browse the repository at this point in the history
  • Loading branch information
garusis authored and koskimas committed Feb 25, 2021
1 parent 98a2f7c commit 93cc075
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion typings/objection/index.d.ts
Expand Up @@ -58,7 +58,9 @@ declare namespace Objection {
): ValueBuilder;
}

export interface ReferenceBuilder extends Castable {}
export interface ReferenceBuilder extends Castable {
from(tableReference: string): this;
}
export interface ReferenceFunction {
(expression: string): ReferenceBuilder;
}
Expand Down

0 comments on commit 93cc075

Please sign in to comment.