aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/rules/noReturnAwaitRule.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tslint/lib/rules/noReturnAwaitRule.js')
-rw-r--r--node_modules/tslint/lib/rules/noReturnAwaitRule.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/tslint/lib/rules/noReturnAwaitRule.js b/node_modules/tslint/lib/rules/noReturnAwaitRule.js
index 67cc188ad..4e354dca6 100644
--- a/node_modules/tslint/lib/rules/noReturnAwaitRule.js
+++ b/node_modules/tslint/lib/rules/noReturnAwaitRule.js
@@ -32,7 +32,7 @@ var Rule = /** @class */ (function (_super) {
Rule.metadata = {
ruleName: "no-return-await",
description: "Disallows unnecessary `return await`.",
- rationale: (_a = ["\n An async function always wraps the return value in a Promise.\n Using `return await` just adds extra time before the overreaching promise is resolved without changing the semantics.\n "], _a.raw = ["\n An async function always wraps the return value in a Promise.\n Using \\`return await\\` just adds extra time before the overreaching promise is resolved without changing the semantics.\n "], Lint.Utils.dedent(_a)),
+ rationale: Lint.Utils.dedent(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n An async function always wraps the return value in a Promise.\n Using `return await` just adds extra time before the overreaching promise is resolved without changing the semantics.\n "], ["\n An async function always wraps the return value in a Promise.\n Using \\`return await\\` just adds extra time before the overreaching promise is resolved without changing the semantics.\n "]))),
optionsDescription: "Not configurable.",
options: null,
optionExamples: [true],
@@ -107,4 +107,4 @@ function isInsideTryBlock(node) {
}
return false;
}
-var _a;
+var templateObject_1;