UNPKG

397 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 = "Prefer to declare `@Output` as readonly since they are not supposed to be reassigned";
6 apply(sourceFile: SourceFile): RuleFailure[];
7}