UNPKG

451 BTypeScriptView Raw
1import { IRuleMetadata, RuleFailure, Rules } from 'tslint/lib';
2import { SourceFile } from 'typescript/lib/typescript';
3export declare class Rule extends Rules.AbstractRule {
4 static readonly metadata: IRuleMetadata;
5 static readonly FAILURE_STRING = "Avoid using <%s/> elements as they create visual accessibility issues.";
6 apply(sourceFile: SourceFile): RuleFailure[];
7}
8export declare function getFailureMessage(element: string): string;