Skip to content

Commit 4ebf0dc

Browse files
vkarpov15Copilot
andauthored
Update docs/typescript/virtuals.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4d93a5c commit 4ebf0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/typescript/virtuals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ schema.virtual('fullName').get(function() {
8888
```
8989

9090
If you explicitly define the `UserVirtuals` interface, you should define your virtuals using `schema.virtual()` as shown above.
91-
We recommend `schema.virtual()` over the `virtuals` option to the Schema constructor shown in the "Automatically Inferred Types" section because the `virtuals` option won't allow you to access other virtuals on `this`.
91+
We recommend `schema.virtual()` over the `virtuals` option to the Schema constructor shown in the Automatically Inferred Types section above because the `virtuals` option won't allow you to access other virtuals on `this`.
9292

9393
## Override the Type of `this` in Your Virtual
9494

0 commit comments

Comments
 (0)