unifiedSignaturesRule.d.ts 566B

1234567891011
  1. import * as ts from "typescript";
  2. import * as Lint from "../index";
  3. export declare class Rule extends Lint.Rules.AbstractRule {
  4. static metadata: Lint.IRuleMetadata;
  5. static FAILURE_STRING_OMITTING_SINGLE_PARAMETER(otherLine?: number): string;
  6. static FAILURE_STRING_OMITTING_REST_PARAMETER(otherLine?: number): string;
  7. static FAILURE_STRING_SINGLE_PARAMETER_DIFFERENCE(otherLine: number | undefined, type1: string, type2: string): string;
  8. private static FAILURE_STRING_START(otherLine?);
  9. apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
  10. }