UNPKG

rxjs-tslint-rules

Version:
17 lines (16 loc) 727 B
import * as Lint from "tslint"; import * as ts from "typescript"; export declare class Rule extends Lint.Rules.TypedRule { static metadata: Lint.IRuleMetadata; static FAILURE_STRING_NO_TAKEUNTIL: string; static FAILURE_STRING_NO_DESTROY: string; static FAILURE_MESSAGE_NOT_CALLED: (name: string, method: string) => string; static FAILURE_MESSAGE_NOT_DECLARED: (name: string) => string; applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): Lint.RuleFailure[]; private checkClassDeclaration; private checkSubscribe; private checkOperator; private checkNgOnDestroy; private checkDestroySubjectDeclaration; private checkDestroySubjectMethodInvocation; }