diff options
Diffstat (limited to 'node_modules/tslint/lib/rules/tripleEqualsRule.js')
-rw-r--r-- | node_modules/tslint/lib/rules/tripleEqualsRule.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/tslint/lib/rules/tripleEqualsRule.js b/node_modules/tslint/lib/rules/tripleEqualsRule.js index 7b4490807..a5b1fbbf7 100644 --- a/node_modules/tslint/lib/rules/tripleEqualsRule.js +++ b/node_modules/tslint/lib/rules/tripleEqualsRule.js @@ -37,7 +37,7 @@ var Rule = /** @class */ (function (_super) { Rule.metadata = { ruleName: "triple-equals", description: "Requires `===` and `!==` in place of `==` and `!=`.", - optionsDescription: (_a = ["\n Two arguments may be optionally provided:\n\n * `\"allow-null-check\"` allows `==` and `!=` when comparing to `null`.\n * `\"allow-undefined-check\"` allows `==` and `!=` when comparing to `undefined`."], _a.raw = ["\n Two arguments may be optionally provided:\n\n * \\`\"allow-null-check\"\\` allows \\`==\\` and \\`!=\\` when comparing to \\`null\\`.\n * \\`\"allow-undefined-check\"\\` allows \\`==\\` and \\`!=\\` when comparing to \\`undefined\\`."], Lint.Utils.dedent(_a)), + optionsDescription: Lint.Utils.dedent(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n Two arguments may be optionally provided:\n\n * `\"allow-null-check\"` allows `==` and `!=` when comparing to `null`.\n * `\"allow-undefined-check\"` allows `==` and `!=` when comparing to `undefined`."], ["\n Two arguments may be optionally provided:\n\n * \\`\"allow-null-check\"\\` allows \\`==\\` and \\`!=\\` when comparing to \\`null\\`.\n * \\`\"allow-undefined-check\"\\` allows \\`==\\` and \\`!=\\` when comparing to \\`undefined\\`."]))), options: { type: "array", items: { @@ -83,4 +83,4 @@ function isExpressionAllowed(node, options) { node.kind === ts.SyntaxKind.Identifier && node.originalKeywordKind === ts.SyntaxKind.UndefinedKeyword; } -var _a; +var templateObject_1; |