"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findChildIndex = void 0;
const findChildIndex = (parentNode, targetNode) => {
    let targetIndex = -1;
    parentNode.forEach((node, _, index) => {
        if (node === targetNode) {
            targetIndex = index;
        }
    });
    return targetIndex;
};
exports.findChildIndex = findChildIndex;
//# sourceMappingURL=helpers.js.map
