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