Skip to content

Commit d35e2c5

Browse files
Fix typo emaill to email
1 parent 8020515 commit d35e2c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)