"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Object_1 = require("../Object");
const _obj_emitter = new Object_1.Object_({ foo: {} });
const unlisten = _obj_emitter.subscribe([], '*', (type, path, key, data) => {
    // eslint-disable-next-line no-console
    console.log(`[], '*'`, type, path, key, data);
});
const unlisten0 = _obj_emitter.subscribe(['*'], 'name', (type, path, key, data) => {
    // eslint-disable-next-line no-console
    console.log(`['*'], 'name'`, type, path, key, data);
});
const unlisten1 = _obj_emitter.subscribe(['*'], 'name', (type, path, key, data) => {
    // eslint-disable-next-line no-console
    console.log(`['*'], 'name'`, type, path, key, data);
});
const unlisten2 = _obj_emitter.subscribe(['*'], '*', (type, path, key, data) => {
    // eslint-disable-next-line no-console
    console.log(`['*'], '*'`, type, path, key, data);
});
void _obj_emitter.deepSet(['foo'], {});
void _obj_emitter.deepSet(['foo', 'name'], 'bar');
void _obj_emitter.deepSet(['foo', 'name'], 'zaz');
void _obj_emitter.deepDelete(['foo', 'name']);
unlisten();
unlisten0();
unlisten1();
unlisten2();
void _obj_emitter.deepSet(['foo', 'name'], 'tar');
//# sourceMappingURL=Object_.js.map