"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pick = void 0;
function pick(obj, keys) {
    return keys.reduce((ret, key) => {
        if (obj[key] !== undefined) {
            ret[key] = obj[key];
        }
        return ret;
    }, {});
}
exports.pick = pick;
