You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/typescript/schemas.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -221,4 +221,4 @@ async function run() {
221
221
Use `HydratedArraySubdocument<RawDocType>` for the type of array subdocuments, and `HydratedSingleSubdocument<RawDocType>` for single subdocuments.
222
222
223
223
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