Corrige les tests serializeEvaluation

pull/1377/head
Maxime Quandalle 2021-01-18 15:52:49 +01:00
parent 1cd51f662f
commit 2fcc9c2442
1 changed files with 1 additions and 1 deletions

View File

@ -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 }