diff options
Diffstat (limited to 'node_modules/tslint/lib/rules/unifiedSignaturesRule.d.ts')
-rw-r--r-- | node_modules/tslint/lib/rules/unifiedSignaturesRule.d.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/tslint/lib/rules/unifiedSignaturesRule.d.ts b/node_modules/tslint/lib/rules/unifiedSignaturesRule.d.ts new file mode 100644 index 000000000..0a461d4d2 --- /dev/null +++ b/node_modules/tslint/lib/rules/unifiedSignaturesRule.d.ts @@ -0,0 +1,10 @@ +import * as ts from "typescript"; +import * as Lint from "../index"; +export declare class Rule extends Lint.Rules.AbstractRule { + static metadata: Lint.IRuleMetadata; + static FAILURE_STRING_OMITTING_SINGLE_PARAMETER(otherLine?: number): string; + static FAILURE_STRING_OMITTING_REST_PARAMETER(otherLine?: number): string; + static FAILURE_STRING_SINGLE_PARAMETER_DIFFERENCE(otherLine: number | undefined, type1: string, type2: string): string; + private static FAILURE_STRING_START(otherLine?); + apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; +} |