---
url: >-
  https://canary.warp-drive.io/api/@warp-drive/utilities/string/functions/resetToDefaults.md
description: >-
  Discards all custom inflection rules and caches, then restores the built-in
  default rules.
---

# &#x20;resetToDefaults()&#x20;

```ts
function resetToDefaults(): void;
```

Defined in: [-private/string/inflect.ts:109](https://github.com/warp-drive-data/warp-drive/blob/48dc0d277b98008082669dadc6a52e5c5682ef8e/warp-drive-packages/utilities/src/-private/string/inflect.ts#L109)

Resets the inflection rules to the defaults.

## Returns

`void`
