From 266f33a53e27f2405c2c3644574c5956b8a757ec Mon Sep 17 00:00:00 2001 From: Shea Bunge Date: Wed, 29 Dec 2021 03:46:04 +1100 Subject: [PATCH] docs: default value of isStrict in mixed.strict is true, not false (#1521) Co-authored-by: Shea Bunge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd1f2bf11..fa3623711 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ schema.validate({ name: 'jimmy', age: 11 }).catch(function (err) { - [`mixed.isValidSync(value: any, options?: object): boolean`](#mixedisvalidsyncvalue-any-options-object-boolean) - [`mixed.cast(value: any, options = {}): any`](#mixedcastvalue-any-options---any) - [`mixed.isType(value: any): boolean`](#mixedistypevalue-any-boolean) - - [`mixed.strict(isStrict: boolean = false): Schema`](#mixedstrictisstrict-boolean--false-schema) + - [`mixed.strict(isStrict: boolean = true): Schema`](#mixedstrictisstrict-boolean--false-schema) - [`mixed.strip(stripField: boolean = true): Schema`](#mixedstripstripfield-boolean--true-schema) - [`mixed.withMutation(builder: (current: Schema) => void): void`](#mixedwithmutationbuilder-current-schema--void-void) - [`mixed.default(value: any): Schema`](#mixeddefaultvalue-any-schema)