aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/rules/noSwitchCaseFallThroughRule.d.ts
blob: 1fe06743f6175cc6b3180eae8192508263a34915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import * as ts from "typescript";
import * as Lint from "../index";
export declare class Rule extends Lint.Rules.AbstractRule {
    static metadata: Lint.IRuleMetadata;
    static FAILURE_STRING(keyword: ts.SyntaxKind): string;
    apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
}
export declare class NoSwitchCaseFallThroughWalker extends Lint.AbstractWalker<void> {
    walk(sourceFile: ts.SourceFile): void;
    private visitSwitchStatement({caseBlock: {clauses}});
    private isFallThroughAllowed(clause);
}