diff options
Diffstat (limited to 'node_modules/tslint/lib/rules/objectLiteralSortKeysRule.d.ts')
-rw-r--r-- | node_modules/tslint/lib/rules/objectLiteralSortKeysRule.d.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/node_modules/tslint/lib/rules/objectLiteralSortKeysRule.d.ts b/node_modules/tslint/lib/rules/objectLiteralSortKeysRule.d.ts index 1cd1b8c5c..7ea64b163 100644 --- a/node_modules/tslint/lib/rules/objectLiteralSortKeysRule.d.ts +++ b/node_modules/tslint/lib/rules/objectLiteralSortKeysRule.d.ts @@ -1,7 +1,9 @@ import * as ts from "typescript"; import * as Lint from "../index"; -export declare class Rule extends Lint.Rules.AbstractRule { +export declare class Rule extends Lint.Rules.OptionallyTypedRule { static metadata: Lint.IRuleMetadata; - static FAILURE_STRING_FACTORY(name: string): string; + static FAILURE_STRING_ALPHABETICAL(name: string): string; + static FAILURE_STRING_USE_DECLARATION_ORDER(propName: string, typeName: string | undefined): string; apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; + applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): Lint.RuleFailure[]; } |