"use strict";
/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeFlexListEager = exports.normalizeFlexList = void 0;
function normalizeFlexList(t) {
    return t.map((value) => {
        if (typeof value === "function") {
            return value;
        }
        return () => value;
    });
}
exports.normalizeFlexList = normalizeFlexList;
function normalizeFlexListEager(t) {
    const data = t.map((value) => {
        if (typeof value === "function") {
            return value();
        }
        return value;
    });
    return data;
}
exports.normalizeFlexListEager = normalizeFlexListEager;
//# sourceMappingURL=flexList.js.map