From 4c5a3f39c116d642aa5e4443cb1eea0e3e8cf7d5 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 14 Aug 2023 16:24:36 -0400 Subject: [PATCH] types: export InferSchemaType --- types/inferschematype.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/inferschematype.d.ts b/types/inferschematype.d.ts index 494c92c69c0..52f5144d27b 100644 --- a/types/inferschematype.d.ts +++ b/types/inferschematype.d.ts @@ -39,7 +39,7 @@ declare module 'mongoose' { * // result * type UserType = {userName?: string} */ - type InferSchemaType = IfAny>; + export type InferSchemaType = IfAny>; /** * @summary Obtains schema Generic type by using generic alias.