---
id: type-utils
sidebar_label: type-utils
toc_max_heading_level: 3
---

import GeneratedDocs from './type-utils/generated/index.md';

# `@typescript-eslint/type-utils`

<PackageLink packageName="type-utils" scope="@typescript-eslint" />

> Type utilities for working with TypeScript types ✨

This package contains public utilities for working with TypeScript types.
Rules declared in [`@typescript-eslint/eslint-plugin`](./ESLint_Plugin.mdx) use these utility functions.

The utilities in this package are both:

- More generally ESLint-focused than the broad TypeScript utilities in [`ts-api-utils`](https://npmjs.com/package/ts-api-utils)
- Separated from [`@typescript-eslint/utils`](./Utils.mdx) so that that package does not require a dependency on `typescript`

:::tip
See [Custom Rules](../developers/Custom_Rules.mdx) for documentation on creating your own custom ESLint rules for TypeScript code.
:::

---

The following documentation is auto-generated from source code.

<GeneratedDocs />
