"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPlugin = void 0;
function createPlugin(constr, context, name) {
    const ret = new constr(context);
    ret.name = name;
    return ret;
}
exports.createPlugin = createPlugin;
