"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class New extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['class'],
            o: ['unit'],
        }, {
            output: {
                unit: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_NEW);
    }
    f({ class: Class }, done) {
        done({ unit: new Class(this.__system) });
    }
}
exports.default = New;
//# sourceMappingURL=index.js.map