From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/tslint/lib/rules/preferFunctionOverMethodRule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node_modules/tslint/lib/rules/preferFunctionOverMethodRule.js') diff --git a/node_modules/tslint/lib/rules/preferFunctionOverMethodRule.js b/node_modules/tslint/lib/rules/preferFunctionOverMethodRule.js index 9f145cef6..c18d09317 100644 --- a/node_modules/tslint/lib/rules/preferFunctionOverMethodRule.js +++ b/node_modules/tslint/lib/rules/preferFunctionOverMethodRule.js @@ -37,7 +37,7 @@ var Rule = /** @class */ (function (_super) { Rule.metadata = { ruleName: "prefer-function-over-method", description: "Warns for class methods that do not use 'this'.", - optionsDescription: (_a = ["\n \"", "\" excludes checking of public methods.\n \"", "\" excludes checking of protected methods."], _a.raw = ["\n \"", "\" excludes checking of public methods.\n \"", "\" excludes checking of protected methods."], Lint.Utils.dedent(_a, OPTION_ALLOW_PUBLIC, OPTION_ALLOW_PROTECTED)), + optionsDescription: Lint.Utils.dedent(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n \"", "\" excludes checking of public methods.\n \"", "\" excludes checking of protected methods."], ["\n \"", "\" excludes checking of public methods.\n \"", "\" excludes checking of protected methods."])), OPTION_ALLOW_PUBLIC, OPTION_ALLOW_PROTECTED), options: { type: "string", enum: [OPTION_ALLOW_PUBLIC, OPTION_ALLOW_PROTECTED], @@ -108,4 +108,4 @@ function isRecursiveCall(node, name) { node.parent.kind === ts.SyntaxKind.PropertyAccessExpression && node.parent.name.text === name; } -var _a; +var templateObject_1; -- cgit v1.2.3