1 | import { IRuleMetadata, RuleFailure } from 'tslint';
|
2 | import { AbstractRule } from 'tslint/lib/rules';
|
3 | import { SourceFile } from 'typescript';
|
4 | export declare class Rule extends AbstractRule {
|
5 | static readonly metadata: IRuleMetadata;
|
6 | static readonly FAILURE_STRING = "Avoid explicit calls to lifecycle methods";
|
7 | apply(sourceFile: SourceFile): RuleFailure[];
|
8 | }
|