aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/rules/cyclomaticComplexityRule.d.ts
blob: 25f7d9696958f60051877cf603151202124ccd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
}