UNPKG

444 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 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}