UNPKG

368 BTypeScriptView Raw
1import { IRuleMetadata, RuleFailure } from 'tslint';
2import { AbstractRule } from 'tslint/lib/rules';
3import { SourceFile } from 'typescript';
4export declare class Rule extends AbstractRule {
5 static readonly metadata: IRuleMetadata;
6 static readonly FAILURE_STRING = "Avoid calling expressions in templates";
7 apply(sourceFile: SourceFile): RuleFailure[];
8}