"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mirror = mirror;
function mirror(a, b) {
    a.subscribe([], '*', (type, path, key, data) => {
        var _a;
        const specId = (_a = path[0]) !== null && _a !== void 0 ? _a : key;
        if (b[specId] === undefined) {
            b.dispatch(type, path, key, data);
        }
    });
}
//# sourceMappingURL=mirror.js.map