UNPKG

eslint-plugin-exception-handling

Version:

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

4 lines (3 loc) • 231 B
import { RuleContext, SourceCode } from "@typescript-eslint/utils/ts-eslint"; import { SourceFile } from "typescript"; export declare function parse(source: SourceFile, context: RuleContext<string, unknown[]>): SourceCode.Program;