UNPKG

js-slang

Version:

Javascript-based implementations of Source, written in Typescript

12 lines (11 loc) 453 B
import type { VariableDeclaration } from 'estree'; import type { Rule } from '../../types'; import { RuleError } from '../../errors'; export declare class MultipleDeclarationsError extends RuleError<VariableDeclaration> { private readonly fixs; constructor(node: VariableDeclaration); explain(): string; elaborate(): string; } declare const singleVariableDeclaration: Rule<VariableDeclaration>; export default singleVariableDeclaration;