fix(core): update

This commit is contained in:
2020-01-24 07:11:25 +00:00
parent 17287a9ba3
commit 1493848dc8
7 changed files with 42 additions and 20 deletions

View File

@@ -12,10 +12,15 @@ export class Rule<T> {
public checkFunction: TCheckFunc<T>;
public actionFunction: TActionFunc;
constructor(smartRuleRef: SmartRule<T>, priorityArg: number, checkFunctionArg: TCheckFunc<T>, actionFunctionArg: TActionFunc) {
constructor(
smartRuleRef: SmartRule<T>,
priorityArg: number,
checkFunctionArg: TCheckFunc<T>,
actionFunctionArg: TActionFunc
) {
this.smartRuleRef = smartRuleRef;
this.priority = priorityArg;
this.checkFunction = checkFunctionArg;
this.actionFunction = actionFunctionArg;
}
}
}