pipePrefixRule.d.ts 430 B

123456789101112
  1. import * as Lint from 'tslint';
  2. import * as ts from 'typescript';
  3. export 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. }