docs(utils): fix model options type

This commit is contained in:
Arash
2023-07-09 14:10:34 +03:00
committed by GitHub
parent 52a5ae9180
commit 3ff97569f5

View File

@ -50,7 +50,7 @@ This function creates a new Mongoose model with schema. Example usage:
| ---------------------------- | ----------- | ----------- | ----- | | ---------------------------- | ----------- | ----------- | ----- |
| `name` | `string` | true | Name of Model | | `name` | `string` | true | Name of Model |
| `schema` | `SchemaDefinition` | true | Schema Definition of Model | | `schema` | `SchemaDefinition` | true | Schema Definition of Model |
| `options` | `SchemaDefinition` | false | Schema Options for Model | | `options` | `SchemaOptions` | false | Schema Options for Model |
| `hooks` | `(schema: Schema<T>) => void` | false | Schema Hooks Function to customize Model | | `hooks` | `(schema: Schema<T>) => void` | false | Schema Hooks Function to customize Model |