@@ -75,7 +75,7 @@ async function run<ConsequencePayload, C extends Context,
7575export const evaluateRules = async < ConsequencePayload , C extends Context ,
7676 RF extends RuleFunctionsTable < C , ConsequencePayload , CustomEngineRuleFuncRunOptions > ,
7777 F extends FunctionsTable < C , CustomEngineRuleFuncRunOptions > ,
78- Ignore = never , CustomEngineRuleFuncRunOptions = { } > ( rules : Rule < ConsequencePayload ,
78+ Ignore = never , CustomEngineRuleFuncRunOptions = undefined > ( rules : Rule < ConsequencePayload ,
7979 RF , C , F , Ignore , CustomEngineRuleFuncRunOptions > [ ] , context : C , functionsTable : F , ruleFunctionsTable : RF ,
8080 haltOnFirstMatch : boolean , runOptions : CustomEngineRuleFuncRunOptions )
8181 : Promise < void | ResolvedConsequence < ConsequencePayload > [ ] > => {
@@ -86,7 +86,7 @@ export const evaluateRules = async <ConsequencePayload, C extends Context,
8686export const validateRules = async < ConsequencePayload , C extends Context ,
8787 RF extends RuleFunctionsTable < C , ConsequencePayload , CustomEngineRuleFuncRunOptions > ,
8888 F extends FunctionsTable < C , CustomEngineRuleFuncRunOptions > ,
89- Ignore = never , CustomEngineRuleFuncRunOptions = { } > (
89+ Ignore = never , CustomEngineRuleFuncRunOptions = undefined > (
9090 rules : Rule < ConsequencePayload , RF , C , F , Ignore , CustomEngineRuleFuncRunOptions > [ ] ,
9191 validationContext : ValidationContext < C , Ignore > ,
9292 functionsTable : F , ruleFunctionsTable : RF , runOptions : CustomEngineRuleFuncRunOptions )
0 commit comments