1 | import { IRuleMetadata, RuleFailure } from 'tslint';
|
2 | import { AbstractRule } from 'tslint/lib/rules';
|
3 | import { SourceFile } from 'typescript';
|
4 | interface FailureParameters {
|
5 | readonly className: string;
|
6 | }
|
7 | export declare const getFailureMessage: (failureParameters: FailureParameters) => string;
|
8 | export declare class Rule extends AbstractRule {
|
9 | static readonly metadata: IRuleMetadata;
|
10 | static readonly FAILURE_STRING = "The selector of the component \"%s\" is mandatory";
|
11 | apply(sourceFile: SourceFile): RuleFailure[];
|
12 | }
|
13 | export {};
|