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

13 lines
532 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 metadata: Lint.IRuleMetadata;
static FAILURE_STRING(keyword: ts.SyntaxKind): string;
apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
}
export declare class NoSwitchCaseFallThroughWalker extends Lint.AbstractWalker<void> {
2017-08-14 05:01:11 +02:00
walk(sourceFile: ts.SourceFile): void | undefined;
2017-05-28 00:38:50 +02:00
private visitSwitchStatement({caseBlock: {clauses}});
private isFallThroughAllowed(clause);
}