wallet-core/node_modules/tslint/lib/rules/cyclomaticComplexityRule.d.ts
2017-05-28 00:40:43 +02:00

12 lines
447 B
TypeScript

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;
}