message: docs(getName): re-style and update to current implementation
diff: @@ -3,11 +3,22 @@ id: get-name
  title: 'getName'
  ---
  -`getName(class)` gets the name of the resulting model (accounts for `customName` & `automaticName`)
  +**Typings:**
  -:::note
  -This function only works on classes, not on models or schemas.
  -:::
  +```ts
  +function getName<U extends AnyParamConstructor<any>>(cl: U, overwriteOptions?: IModelOptions)
  +```
  +
  +**Parameters:**
  +
  +| Name | Type | Description |
  +| :-------------------------------------------------------- | :-------------: | :--------------------------------------------------- |
  +| `cl` <span class="badge badge--secondary">Required</span> | `U` | The Class to get a name from / for |
  +| `overwriteOptions` | `IModelOptions` | Overwrite select `IModelOptions` for name generation |
  +
  +`getName` generates the name of the given Class (`cl`) with the given OverwriteOptions (`overwriteOptions`).
  +
  +[Name Generation in typegoose.](../../guides/advanced/name-generation.md)
  ## Example
  