UNPKG

tslint-clean-code

Version:
9 lines (8 loc) 374 B
import * as ts from 'typescript'; import * as Lint from 'tslint'; import { ExtendedMetadata } from './utils/ExtendedMetadata'; export declare class Rule extends Lint.Rules.AbstractRule { static metadata: ExtendedMetadata; static FAILURE_STRING(switchExpression: string, caseExpressions: string[]): string; apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; }