blob: 85b7194c36b69456e49c9ec93ae15ba74483252f (
plain)
1
2
3
4
5
6
7
8
9
|
import * as ts from "typescript";
import * as Lint from "../index";
export declare class Rule extends Lint.Rules.TypedRule {
static metadata: Lint.IRuleMetadata;
static FAILURE_STRING_BAD_TYPEOF: string;
static FAILURE_STRING(value: boolean): string;
static FAILURE_STRICT_PREFER_STRICT_EQUALS(value: "null" | "undefined", isPositive: boolean): string;
applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): Lint.RuleFailure[];
}
|