rxjs-tslint-rules
Version:
TSLint rules for RxJS
23 lines (22 loc) • 869 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var rxjsPreferAngularAsyncPipeRule_1 = require("./rxjsPreferAngularAsyncPipeRule");
var Rule = (function (_super) {
tslib_1.__extends(Rule, _super);
function Rule() {
return _super !== null && _super.apply(this, arguments) || this;
}
Rule.metadata = {
deprecationMessage: "Use the rxjs-prefer-angular-async-pipe rule instead.",
description: "Disallows the calling of `subscribe` within an Angular component.",
options: null,
optionsDescription: "Not configurable.",
requiresTypeInfo: true,
ruleName: "rxjs-prefer-async-pipe",
type: "style",
typescriptOnly: true
};
return Rule;
}(rxjsPreferAngularAsyncPipeRule_1.Rule));
exports.Rule = Rule;