Skip to content

Commit 692117e

Browse files
vkarpov15hasezoey
andauthored
Update docs/typescript/schemas.md
Co-authored-by: hasezoey <[email protected]>
1 parent 5c4051a commit 692117e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/typescript/schemas.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ For example, the above code won't throw an error if `email` is optional in the d
6363

6464
## Generic parameters
6565

66-
The Mongoose `Schema` class in TypeScript has 4 [generic parameters](https://www.typescriptlang.org/docs/handbook/2/generics.html):
66+
The Mongoose `Schema` class in TypeScript has 9 [generic parameters](https://www.typescriptlang.org/docs/handbook/2/generics.html):
6767

6868
* `RawDocType` - An interface describing how the data is saved in MongoDB
6969
* `M` - The Mongoose model type. Can be omitted if there are no query helpers or instance methods to be defined.

0 commit comments

Comments
 (0)