✅ Corrige les tests serializeEvaluation
parent
1cd51f662f
commit
2fcc9c2442
|
@ -78,7 +78,7 @@ export default class Engine<Name extends string = string> {
|
|||
options: Options
|
||||
|
||||
constructor(
|
||||
rules: string | Record<string, Rule> | ParsedRules<Name>,
|
||||
rules: string | Record<string, Rule> | ParsedRules<Name> = {},
|
||||
options: Partial<Options> = {}
|
||||
) {
|
||||
this.options = { ...options, logger: options.logger ?? console }
|
||||
|
|
Loading…
Reference in New Issue