"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.watchGraphSetPinSetDefaultIgnored = watchGraphSetPinSetDefaultIgnored;
function watchGraphSetPinSetDefaultIgnored(event, graph, callback) {
    const listener = (...[type, pinId, defaultIgnored, path]) => {
        callback({
            type: 'graph',
            event,
            data: {
                type,
                pinId,
                defaultIgnored,
                path,
            },
        });
    };
    graph.prependListener(event, listener);
    return () => {
        graph.removeListener(event, listener);
    };
}
//# sourceMappingURL=watchGraphSetPinSetDefaultIgnored.js.map