UNPKG

confinode

Version:

Node application configuration reader

22 lines 638 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const InternalResult_1 = require("./InternalResult"); /** * A result based on real data and file name. */ class DirectResult extends InternalResult_1.default { /** * Create the result. * * @param data - The result data. * @param fileName - The name of the file from which data have been extracted. */ constructor(data, fileName) { super(); this.fileName = fileName; this.configuration = data; Object.freeze(this); } } exports.default = DirectResult; //# sourceMappingURL=DirectResult.js.map