UNPKG

333 BTypeScriptView Raw
1import { IRuleMetadata, RuleFailure } from 'tslint';
2import { AbstractRule } from 'tslint/lib/rules';
3import { SourceFile } from 'typescript';
4export declare class Rule extends AbstractRule {
5 static readonly metadata: IRuleMetadata;
6 static readonly FAILURE_STRING: string;
7 apply(sourceFile: SourceFile): RuleFailure[];
8}