message: docs(deleteModel): re-style and update to current implementation
diff: @@ -5,7 +5,28 @@ title: 'deleteModel*'
  ## deleteModel
  -`deleteModel(name: string)`: Delete models from the typegoose cache & call `mongoose.connection.deleteModel`.
  +**Typings:**
  +
  +```ts
  +function deleteModel(name: string)
  +```
  +
  +**Parameters:**
  +
  +| Name | Type | Description |
  +| :---------------------------------------------------------- | :------: | :------------------------------- |
  +| `name` <span class="badge badge--secondary">Required</span> | `string` | The Key to remove from the Cache |
  +
  +`deleteModel` deletes the given Key (`name`) from mongoose and the Typegoose Cache, the key is the generated [Model Name](../../guides/advanced/name-generation.md).
  +
  +Use [`deleteModelWithClass`](#deletemodelwithclass) when wanting to delete by class instead of by key directly.
  +
  +:::caution
  +This function also deletes the Model from Mongoose itself.
  +:::
  +:::caution
  +Currently this function does not delete any entries that have different name generation applied at insertion time (like having name generation overwritten in [`getModelForClass`](./getClassForDocument.md))).
  +:::
  ```ts
  class SomeUser {}
  @@ -16,7 +37,19 @@ deleteModel('SomeUser');
  ## deleteModelWithClass
  -`deleteModelWithClass(cl: NewableFunction)`: Find the name of the model and call [`deleteModel`](#deletemodel)
  +**Typings:**
  +
  +```ts
  +function deleteModelWithClass<U extends AnyParamConstructor<any>>(cl: U)
  +```
  +
  +**Parameters:**
  +
  +| Name | Type | Description |
  +| :-------------------------------------------------------- | :---: | :--------------------------------- |
  +| `cl` <span class="badge badge--secondary">Required</span> | `U` | The Class to remove from the Cache |
  +
  +`deleteModelWithClass` tries to find the given Class (`cl`) in the cache and calls [`deleteModel`](#deletemodel) with the key the Class has given.
  ```ts
  class SomeUser {}
  