UNPKG

eslint-plugin-obsidian

Version:

ESLint rules for Obsidian

15 lines 537 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RedundantTypeError = void 0; const array_1 = require("../../../utils/array"); class RedundantTypeError { constructor(redundantType) { this.redundantType = redundantType; this.isError = true; } getMessage() { return `injectComponent has one or more redundant types: ${(0, array_1.toString)(this.redundantType)}.`; } } exports.RedundantTypeError = RedundantTypeError; //# sourceMappingURL=redundantTypeError.js.map