diff options
Diffstat (limited to 'node_modules/tslint/lib/rules/objectLiteralShorthandRule.js')
-rw-r--r-- | node_modules/tslint/lib/rules/objectLiteralShorthandRule.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/tslint/lib/rules/objectLiteralShorthandRule.js b/node_modules/tslint/lib/rules/objectLiteralShorthandRule.js index 59ac30d76..e770d72e6 100644 --- a/node_modules/tslint/lib/rules/objectLiteralShorthandRule.js +++ b/node_modules/tslint/lib/rules/objectLiteralShorthandRule.js @@ -36,7 +36,7 @@ var Rule = /** @class */ (function (_super) { ruleName: "object-literal-shorthand", description: "Enforces/disallows use of ES6 object literal shorthand.", hasFix: true, - optionsDescription: (_a = ["\n If the 'never' option is provided, any shorthand object literal syntax will cause a failure."], _a.raw = ["\n If the \\'never\\' option is provided, any shorthand object literal syntax will cause a failure."], Lint.Utils.dedent(_a)), + optionsDescription: Lint.Utils.dedent(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n If the 'never' option is provided, any shorthand object literal syntax will cause a failure."], ["\n If the \\'never\\' option is provided, any shorthand object literal syntax will cause a failure."]))), options: { type: "string", enum: [OPTION_NEVER], @@ -101,4 +101,4 @@ function handleLonghandMethod(name, initializer, sourceFile) { } return [prefix + sourceFile.text.substring(nameStart, name.end), fix]; } -var _a; +var templateObject_1; |