From 72e49573e2183e77ca841de195619f170964c866 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 29 Apr 2024 15:30:58 -0400 Subject: [PATCH] Update docs/typescript/schemas.md Co-authored-by: hasezoey --- docs/typescript/schemas.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/typescript/schemas.md b/docs/typescript/schemas.md index db9c5944c82..8986e56f9fe 100644 --- a/docs/typescript/schemas.md +++ b/docs/typescript/schemas.md @@ -72,6 +72,7 @@ The Mongoose `Schema` class in TypeScript has 9 [generic parameters](https://www * default: `{}` * `TQueryHelpers` - An interface containing query helpers defined on the schema. Defaults to `{}`. * `TVirtuals` - An interface containing virtuals defined on the schema. Defaults to `{}` +* `TStaticMethods` - An interface containing methods on a model. Defaults to `{}` * `TSchemaOptions` - The type passed as the 2nd option to `Schema()` constructor. Defaults to `DefaultSchemaOptions`. * `DocType` - The inferred document type from the schema. * `THydratedDocumentType` - The hydrated document type. This is the default return type for `await Model.findOne()`, `Model.hydrate()`, etc.