docs(utils): fix model options type
This commit is contained in:
@ -50,7 +50,7 @@ This function creates a new Mongoose model with schema. Example usage:
|
||||
| ---------------------------- | ----------- | ----------- | ----- |
|
||||
| `name` | `string` | true | Name 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 |
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user