Files
NapCatQQ/.pnpm-store/v3/files/bf/034bfebbc28d8d34587ff094bfaba08ec5db502552f709d53241eb6ce1971a017f81251b65be8e680f1f4c1a38007ce4449a70beddb925a8abf7ac62a2b449
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

30 lines
964 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExtendsFromMappedKey = ExtendsFromMappedKey;
const index_1 = require("../mapped/index");
const index_2 = require("../literal/index");
const extends_1 = require("./extends");
const value_1 = require("../clone/value");
// prettier-ignore
function FromPropertyKey(K, U, L, R, options) {
return {
[K]: (0, extends_1.Extends)((0, index_2.Literal)(K), U, L, R, (0, value_1.Clone)(options))
};
}
// prettier-ignore
function FromPropertyKeys(K, U, L, R, options) {
return K.reduce((Acc, LK) => {
return { ...Acc, ...FromPropertyKey(LK, U, L, R, options) };
}, {});
}
// prettier-ignore
function FromMappedKey(K, U, L, R, options) {
return FromPropertyKeys(K.keys, U, L, R, options);
}
// prettier-ignore
function ExtendsFromMappedKey(T, U, L, R, options) {
const P = FromMappedKey(T, U, L, R, options);
return (0, index_1.MappedResult)(P);
}