UNPKG

js-slang

Version:

Javascript-based implementations of Source, written in Typescript

10 lines (9 loc) 333 B
import type { IfStatement } from 'estree'; import type { Rule } from '../../types'; import { RuleError } from '../../errors'; export declare class NoIfWithoutElseError extends RuleError<IfStatement> { explain(): string; elaborate(): string; } declare const noIfWithoutElse: Rule<IfStatement>; export default noIfWithoutElse;