"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.applyMissingFields = applyMissingFields;
function applyMissingFields(dst, src) {
    Object.keys(src).forEach((k) => {
        const key = k;
        if (key in dst) {
            return;
        }
        else {
            const v = src[key];
            if (v !== undefined) {
                dst[key] = v;
            }
        }
    });
}
