From 5a5dfd5d0d19c22cf4fbd89ee8a5ce3eefa5e48e Mon Sep 17 00:00:00 2001 From: Stephan Meijer Date: Wed, 5 Jul 2023 20:25:36 +0200 Subject: [PATCH] #2963 make return value of validate match type definitions --- lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index aba7fa59..6d916a5e 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -719,7 +719,7 @@ declare namespace Joi { } | { error: ValidationError; warning?: ValidationError; - value: undefined; + value: any; } interface CreateErrorOptions {