Files
NapCatQQ/.pnpm-store/v3/files/d8/7a61b463b6514ddf1ffce4a6b611398587c221d227ce7bc49c907550086b6fdfe08673f1d2a7548bff096cf4dc06ad86d23c4204d2af1019b92d6005206716
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

26 lines
799 B
Plaintext

import { MappedResult } from '../mapped/index.mjs';
import { Literal } from '../literal/index.mjs';
import { Extends } from './extends.mjs';
import { Clone } from '../clone/value.mjs';
// prettier-ignore
function FromPropertyKey(K, U, L, R, options) {
return {
[K]: Extends(Literal(K), U, L, R, 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
export function ExtendsFromMappedKey(T, U, L, R, options) {
const P = FromMappedKey(T, U, L, R, options);
return MappedResult(P);
}