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

23 lines
806 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cloneDynamicValueBinding = cloneDynamicValueBinding;
const cloneBindingCache_1 = require("./cloneBindingCache");
/**
* Clones a DynamicValueBinding
*/
function cloneDynamicValueBinding(binding) {
return {
cache: (0, cloneBindingCache_1.cloneBindingCache)(binding.cache),
id: binding.id,
isSatisfiedBy: binding.isSatisfiedBy,
moduleId: binding.moduleId,
onActivation: binding.onActivation,
onDeactivation: binding.onDeactivation,
scope: binding.scope,
serviceIdentifier: binding.serviceIdentifier,
type: binding.type,
// The value is not cloned
value: binding.value,
};
}
//# sourceMappingURL=cloneDynamicValueBinding.js.map