UNPKG

@wocker/core

Version:
21 lines (20 loc) 421 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Config = void 0; /** * @deprecated */ /* istanbul ignore next */ class Config { constructor(data) { this.name = data.name; } toObject() { return Object.keys(this) .reduce((res, key) => { res[key] = this[key]; return res; }, {}); } } exports.Config = Config;