awaitPromiseRule.d.ts 334B

123456789
  1. import * as ts from "typescript";
  2. import * as Lint from "../index";
  3. export declare class Rule extends Lint.Rules.TypedRule {
  4. static metadata: Lint.IRuleMetadata;
  5. static FAILURE_STRING: string;
  6. static FAILURE_FOR_AWAIT_OF: string;
  7. applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): Lint.RuleFailure[];
  8. }