js-slang
Version:
Javascript-based implementations of Source, written in Typescript
10 lines (9 loc) • 336 B
TypeScript
import type { ForStatement } from 'estree';
import type { Rule } from '../../types';
import { RuleError } from '../../errors';
export declare class BracesAroundForError extends RuleError<ForStatement> {
explain(): string;
elaborate(): string;
}
declare const bracesAroundFor: Rule<ForStatement>;
export default bracesAroundFor;