UNPKG

468 BTypeScriptView Raw
1import { IRuleMetadata } from 'tslint/lib';
2import { SelectorPropertyBase, SelectorStyle, SelectorType } from './selectorPropertyBase';
3export declare class Rule extends SelectorPropertyBase {
4 static readonly metadata: IRuleMetadata;
5 handleType: string;
6 getPrefixFailure(prefixes: ReadonlyArray<string>): string;
7 getStyleFailure(style: SelectorStyle): string;
8 getTypeFailure(types: ReadonlyArray<SelectorType>): string;
9 isEnabled(): boolean;
10}