wallet-core/node_modules/tslint/lib/rules/cyclomaticComplexityRule.d.ts

12 lines
447 B
TypeScript
Raw Normal View History

2017-05-28 00:38:50 +02:00
import * as ts from "typescript";
import * as Lint from "../index";
export declare class Rule extends Lint.Rules.AbstractRule {
static DEFAULT_THRESHOLD: number;
static MINIMUM_THRESHOLD: number;
static metadata: Lint.IRuleMetadata;
static FAILURE_STRING(expected: number, actual: number, name?: string): string;
apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
isEnabled(): boolean;
private readonly threshold;
}