directiveClassSuffixRule.d.ts 444 B

12345678
  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 readonly FAILURE_STRING = "The name of the class %s should end with the suffix %s (https://angular.io/styleguide#style-02-03)";
  6. static validate(className: string, suffixes: string[]): boolean;
  7. apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
  8. }