Files
NapCatQQ/.pnpm-store/v3/files/0f/6f48efb0436e13c95e6d2e823179ff2bf7a15fcd7f2f29679a37355d81de8f130630147e7440221321c32333819fb92e35c00366083e5e88832d207ac89218
T
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

10 lines
305 B
Plaintext

import { Clone } from './value.mjs';
/** Clones a Rest */
export function CloneRest(schemas) {
return schemas.map((schema) => CloneType(schema));
}
/** Clones a Type */
export function CloneType(schema, options) {
return options === undefined ? Clone(schema) : Clone({ ...options, ...schema });
}