Skip to content

Commit ce4a4bf

Browse files
authored
Merge pull request #12180 from JosueMolinaMorales/patch-1
Fix typo `emaill` to `email`
2 parents 8020515 + d35e2c5 commit ce4a4bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/typescript/schemas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The 4th param, `TQueryHelpers`, is used to add types for [chainable query helper
101101

102102
Mongoose checks to make sure that every path in your schema is defined in your document interface.
103103

104-
For example, the below code will fail to compile because `emaill` is a path in the schema, but not in the `DocType` interface.
104+
For example, the below code will fail to compile because `email` is a path in the schema, but not in the `DocType` interface.
105105

106106
```typescript
107107
import { Schema, Model } from 'mongoose';

0 commit comments

Comments
 (0)