diff --git a/docs/typescript/schemas.md b/docs/typescript/schemas.md index a8bc92b34ac..d12b161aa12 100644 --- a/docs/typescript/schemas.md +++ b/docs/typescript/schemas.md @@ -83,7 +83,7 @@ const schema = new Schema({ }); ``` -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