fix(core): update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user