UNPKG

430 BTypeScriptView Raw
1import * as Lint from 'tslint';
2import * as ts from 'typescript';
3export declare class Rule extends Lint.Rules.AbstractRule {
4 static readonly metadata: Lint.IRuleMetadata;
5 static FAILURE_STRING: string;
6 prefix: string;
7 private prefixChecker;
8 constructor(options: Lint.IOptions);
9 apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
10 isEnabled(): boolean;
11 validatePrefix(prefix: string): boolean;
12}