From f99147d2718688cf33e7d759a75a5dac937f0e13 Mon Sep 17 00:00:00 2001 From: bangbang93 Date: Sat, 23 Oct 2021 17:04:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3ModelType?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ed3400b..0dd344b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,7 +24,7 @@ export type RichDocumentType = { T[TKey] extends Record ? Types.Subdocument & T[TKey] : T[TKey] } & Document -export type ModelType = Model, THelper, TModel> +export type ModelType = Model, THelper> export type Ref = T['_id'] | T export type RefDocument = T['_id'] | DocumentType