UNPKG

rxjs-tslint-rules

Version:
23 lines (22 loc) 869 B
"use strict"; 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;