message: docs(setGlobalOptions): re-style and update to current implementation
diff: @@ -3,28 +3,30 @@ id: set-global-options
  title: 'setGlobalOptions'
  ---
  -`setGlobalOptions(options)` is used to set the global Options.
  -
  -Example:
  +**Typings:**
  ```ts
  -setGlobalOptions({ options: { allowMixed: Severity.ALLOW } });
  +function setGlobalOptions(options: IGlobalOptions)
  ```
  -## Options
  -
  -### schemaOptions
  +**Parameters:**
  -Will be merged with every class's `modelOptions`'s `schemaOptions`.
  +| Name | Type | Description |
  +| :-------- | :--------------: | :---------------------------- |
  +| `options` | `IGlobalOptions` | The Options to apply globally |
  -[See the Mongoose docs](https://mongoosejs.com/docs/guide.html#options).
  +`setGlobalOptions` is used to set [`schemaOptions`](../decorators/modelOptions.md#schemaoptions) and [`options`](../decorators/modelOptions.md#options-1) of [`IModelOptions`](../decorators/modelOptions.md#options) globally (applied to all schemas created by [`buildSchema`](./buildSchema.md)) and also set some global operation options for typegoose with [`globalOptions`](#options) property.
  -### options
  +:::caution
  +Each call to `setGlobalOptions` overwrites previous calls.
  +:::
  -Will be merged with every class's `modelOptions`'s `options`.
  +## Example
  -[Please look here for more info](../decorators/modelOptions.md#options-1)
  +```ts
  +setGlobalOptions({ options: { allowMixed: Severity.ERROR } });
  +```
  -### globalOptions
  +## Global Typegoose Options {#options}
  -Global Options that will be applied no where else other than globally.
  +There are currently no global Typegoose specific options
  