Skip to content

Commit

Permalink
Merge pull request #10839 from aseerkt/patch-1
Browse files Browse the repository at this point in the history
Update schemas.md
  • Loading branch information
vkarpov15 authored Oct 4, 2021
2 parents 80dfb8c + 623a789 commit e94dd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/typescript/schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const schema = new Schema<User>({
});
```

However, Mongoose does **not ** check for paths that exist in the document interface, but not in the schema.
However, Mongoose does **not** check for paths that exist in the document interface, but not in the schema.
For example, the below code compiles.

```typescript
Expand Down

0 comments on commit e94dd97

Please sign in to comment.