UNPKG

eslint-plugin-exception-handling

Version:

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

14 lines (13 loc) • 536 B
import { TSESTree } from "@typescript-eslint/utils"; import { RuleContext } from "@typescript-eslint/utils/ts-eslint"; export declare function resolveId(id: TSESTree.Identifier | TSESTree.PrivateIdentifier, context: RuleContext<string, unknown[]>): { id: TSESTree.Identifier | undefined; module: string | undefined; protocol: string | undefined; context: RuleContext<string, unknown[]>; } | { id: TSESTree.Identifier; module: null; protocol: null; context: RuleContext<string, unknown[]>; } | undefined;