UNPKG

eslint-plugin-exception-handling

Version:

💣 Lints unhandled functions that might throw errors. For JavaScript/TypeScript eslint.

4 lines (3 loc) • 280 B
import { TSESTree } from "@typescript-eslint/types"; import { InferGuardType } from "./infer-guard-type.js"; export declare function findInChildren<T extends TSESTree.Node, F extends (x: TSESTree.Node) => x is T>(node: TSESTree.Node, predicate: F): InferGuardType<F> | undefined;