message: docs(getModelForClass): re-style and update to current implementation
diff: @@ -3,9 +3,22 @@ id: get-model-for-class
  title: 'getModelForClass'
  ---
  -`getModelForClass(class, overwriteOptions)` gets a model for a given class. If no Mongoose Model exists for this class yet, one will be created automatically.
  +**Typings:**
  -[All options that can be specified with `overwriteOptions`.](api/decorators/modelOptions.md#Options)
  +```ts
  +function getModelForClass<U extends AnyParamConstructor<any>, QueryHelpers = BeAnObject>(cl: U, options?: IModelOptions)
  +```
  +
  +**Parameters:**
  +
  +| Name | Type | Description |
  +| :-------------------------------------------------------- | :-------------: | :---------------------------------------------------------------------------------------------- |
  +| `cl` <span class="badge badge--secondary">Required</span> | `U` | The Class to build a Model from |
  +| `options` | `IModelOptions` | Overwrite some Model options, only property `schemaOptions` is merged with the existing options |
  +
  +`getModelForClass` compiled a given Class (`cl`) into a `mongoose.Model`, this function will return the existing model if a model of the same name has already been created and cached with [`addModelToTypegoose`](./addModelToTypegoose.md).
  +
  +[All options for `options`,](../decorators/modelOptions.md#options)
  ## Example
  