diff options
Diffstat (limited to 'node_modules/tslint/lib/rules/noInferredEmptyObjectTypeRule.js')
-rw-r--r-- | node_modules/tslint/lib/rules/noInferredEmptyObjectTypeRule.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/tslint/lib/rules/noInferredEmptyObjectTypeRule.js b/node_modules/tslint/lib/rules/noInferredEmptyObjectTypeRule.js index df4b9304c..0d8bd858a 100644 --- a/node_modules/tslint/lib/rules/noInferredEmptyObjectTypeRule.js +++ b/node_modules/tslint/lib/rules/noInferredEmptyObjectTypeRule.js @@ -35,6 +35,7 @@ var Rule = /** @class */ (function (_super) { optionsDescription: "Not configurable.", options: null, optionExamples: [true], + rationale: Lint.Utils.dedent(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n When function or constructor may be called with a type parameter but one isn't supplied or inferrable,\n TypeScript defaults to `{}`.\n This is often undesirable as the call is meant to be of a more specific type.\n "], ["\n When function or constructor may be called with a type parameter but one isn't supplied or inferrable,\n TypeScript defaults to \\`{}\\`.\n This is often undesirable as the call is meant to be of a more specific type.\n "]))), type: "functionality", typescriptOnly: true, requiresTypeInfo: true, @@ -101,3 +102,4 @@ var NoInferredEmptyObjectTypeRule = /** @class */ (function (_super) { }; return NoInferredEmptyObjectTypeRule; }(Lint.AbstractWalker)); +var templateObject_1; |