@typescript-eslint/type-utils
Type utilities for working with TypeScript within ESLint rules. ✨
This package contains public utilities for working with TypeScript types that ESLint rules often use.
Rules declared in @typescript-eslint/eslint-plugin
use these utility functions.
The utilities in this package are both:
- More generally ESLint-focused than the broad TypeScript utilities in
ts-api-utils
- Separated from
@typescript-eslint/utils
so that that package does not require a dependency ontypescript
See Custom Rules for documentation on creating your own custom ESLint rules for TypeScript code.