codelyzer
Version:
Linting for Angular applications, following angular.io/styleguide.
8 lines (7 loc) • 399 B
TypeScript
import { IRuleMetadata, RuleFailure, Rules } from 'tslint/lib';
import { SourceFile } from 'typescript/lib/typescript';
export declare class Rule extends Rules.AbstractRule {
static readonly metadata: IRuleMetadata;
static readonly FAILURE_STRING = "click must be accompanied by either keyup, keydown or keypress event for accessibility";
apply(sourceFile: SourceFile): RuleFailure[];
}