1 | import { IRuleMetadata, RuleFailure, Rules } from 'tslint/lib';
|
2 | import { SourceFile } from 'typescript';
|
3 | export declare const getErrorMessage: (element: string) => string;
|
4 | export declare class Rule extends Rules.AbstractRule {
|
5 | static readonly metadata: IRuleMetadata;
|
6 | static readonly FAILURE_STRING = "<%s/> element should have content";
|
7 | static readonly ELEMENTS: string[];
|
8 | apply(sourceFile: SourceFile): RuleFailure[];
|
9 | }
|