Skip to content

Commit

Permalink
small, better type update
Browse files Browse the repository at this point in the history
  • Loading branch information
jitsedesmet committed Oct 8, 2024
1 parent a4ad222 commit 8c59431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class ExpressionEvaluator implements IExpressionEvaluator {
return result.coerceEBV();
}

public evaluateAsEvaluatorExpression(mapping: RDF.Bindings): Promise<Expression> {
public evaluateAsEvaluatorExpression(mapping: RDF.Bindings): Promise<TermExpression> {
return this.evaluatorExpressionEvaluation(this.expr, mapping);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/types/lib/ExpressionEvaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export interface IExpressionEvaluator extends IInternalEvaluator {
*/
evaluateAsEBV: (mapping: RDF.Bindings) => Promise<boolean>;

evaluateAsEvaluatorExpression: (mapping: RDF.Bindings) => Promise<Expression>;
evaluateAsEvaluatorExpression: (mapping: RDF.Bindings) => Promise<TermExpression>;
}

export interface IInternalEvaluator {
Expand Down

0 comments on commit 8c59431

Please sign in to comment.