UNPKG

@typescript-eslint/eslint-plugin

Version:
6 lines (5 loc) 252 B
import type { TSESTree } from '@typescript-eslint/utils'; /** * Recursively checks whether a given reference is used in a type predicate (e.g., `arg is string`) */ export declare function referenceContainsTypePredicate(node: TSESTree.Node): boolean;