UNPKG

432 BTypeScriptView Raw
1import { IRuleMetadata, RuleFailure, Rules } from 'tslint/lib';
2import { SourceFile } from 'typescript';
3export declare class Rule extends Rules.AbstractRule {
4 static readonly metadata: IRuleMetadata;
5 static readonly FAILURE_STRING = "@Inputs should not be prefixed by %s";
6 apply(sourceFile: SourceFile): RuleFailure[];
7 isEnabled(): boolean;
8}
9export declare const getFailureMessage: (prefixes: string[]) => string;