From c607aaedbd93b24a2d1142234d5280e983ef3564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20Garc=C3=ADa?= Date: Wed, 18 Mar 2020 21:16:39 +0100 Subject: [PATCH] [yup]: Fix typo in the doc of the abortEarly prop of the ValidateOptions interface (#43193) * [yup]: Fix typo in the abortEarly prop of the ValidateOptions interface * [yup]: Add @elias-garcia username to the index.d.ts file --- types/yup/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/yup/index.d.ts b/types/yup/index.d.ts index aa0f6f7c10..d6c2edb785 100644 --- a/types/yup/index.d.ts +++ b/types/yup/index.d.ts @@ -11,6 +11,7 @@ // Desmond Koh // Maurice de Beijer // Kalley Powell +// Elías García // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -303,7 +304,7 @@ export interface ValidateOptions { */ strict?: boolean; /** - * Teturn from validation methods on the first error rather than after all validations run. Default - true + * Return from validation methods on the first error rather than after all validations run. Default - true */ abortEarly?: boolean; /**