Skip to content

Commit e2b0e12

Browse files
vkarpov15hasezoey
andauthored
Update docs/typescript/schemas.md
Co-authored-by: hasezoey <[email protected]>
1 parent 9b449d6 commit e2b0e12

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
@@ -221,4 +221,4 @@ async function run() {
221221
Use `HydratedArraySubdocument<RawDocType>` for the type of array subdocuments, and `HydratedSingleSubdocument<RawDocType>` for single subdocuments.
222222

223223
If you are not using [schema methods](../guide.html#methods), middleware, or [virtuals](../tutorials/virtuals.html), you can omit the last 7 generic parameters to `Schema()` and just define your schema using `new mongoose.Schema<IOrder, OrderModelType>(...)`.
224-
The THydratedDocumentType parameter for schemas is primarily for setting the value of `this` on methods and virtuals.
224+
The THydratedDocumentType parameter for schemas is primarily for setting the value of `this` on methods and virtuals.

0 commit comments

Comments
 (0)