Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 862 Bytes

Type_Utils.mdx

File metadata and controls

20 lines (13 loc) · 862 Bytes
id sidebar_label
type-utils
type-utils

@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 on typescript

See Custom Rules for documentation on creating your own custom ESLint rules for TypeScript code.