eslint-plugin-exception-handling
Version:
💣 Lints unhandled functions that might throw errors. For JavaScript/TypeScript eslint.
9 lines (8 loc) • 406 B
TypeScript
import { TSESTree } from "@typescript-eslint/utils";
import { RuleContext } from "@typescript-eslint/utils/ts-eslint";
export declare function resolveImportedId(context: RuleContext<string, unknown[]>, impt: TSESTree.ImportDeclaration): {
id: TSESTree.Identifier | undefined;
module: string | undefined;
protocol: string | undefined;
context: RuleContext<string, unknown[]>;
} | undefined;