UNPKG

399 BTypeScriptView Raw
1import { IRuleMetadata, RuleFailure, Rules } from 'tslint/lib';
2import { SourceFile } from 'typescript/lib/typescript';
3export declare class Rule extends Rules.AbstractRule {
4 static readonly metadata: IRuleMetadata;
5 static readonly FAILURE_STRING = "click must be accompanied by either keyup, keydown or keypress event for accessibility";
6 apply(sourceFile: SourceFile): RuleFailure[];
7}