Skip to content

Commit

Permalink
Fix evaluate method signature in TargetingFilter.ts (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eskibear authored Apr 17, 2024
1 parent 32a0799 commit 382dd86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter/TargetingFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type TargetingFilterAppContext = {
export class TargetingFilter implements IFeatureFilter {
name: string = "Microsoft.Targeting";

evaluate(context: TargetingFilterEvaluationContext, appContext?: TargetingFilterAppContext): boolean | Promise<boolean> {
evaluate(context: TargetingFilterEvaluationContext, appContext?: TargetingFilterAppContext): boolean {
const { featureName, parameters } = context;
TargetingFilter.#validateParameters(parameters);

Expand Down

0 comments on commit 382dd86

Please sign in to comment.