trailingCommaRule.d.ts 383B

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_NEVER: string;
  6. static FAILURE_STRING_FORBIDDEN: string;
  7. static FAILURE_STRING_ALWAYS: string;
  8. apply(sourceFile: ts.SourceFile): Lint.RuleFailure[];
  9. isEnabled(): boolean;
  10. }