objectLiteralSortKeysRule.d.ts 558B

1234567891011
  1. import * as ts from "typescript";
  2. import * as Lint from "../index";
  3. export declare class Rule extends Lint.Rules.OptionallyTypedRule {
  4. static metadata: Lint.IRuleMetadata;
  5. static FAILURE_STRING_ALPHABETICAL(name: string): string;
  6. static FAILURE_STRING_USE_DECLARATION_ORDER(propName: string, typeName: string | undefined): string;
  7. static FAILURE_STRING_SHORTHAND_FIRST(name: string): string;
  8. apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
  9. applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): Lint.RuleFailure[];
  10. }