"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.processMenuItems = void 0;
// This is a "band-aid" function to work around bogus TypeScript compiler errors
// when webpack is live-reloading
//
// https://github.com/jumpinjackie/mapguide-react-layout/issues/61
/**
 * @hidden
 */
function processMenuItems(items) {
    var processed = [];
    if (items != null) {
        for (var _i = 0, items_1 = items; _i < items_1.length; _i++) {
            var i = items_1[_i];
            if (i != null) {
                processed.push(i);
            }
        }
    }
    return processed;
}
exports.processMenuItems = processMenuItems;
//# sourceMappingURL=menu.js.map