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

23 lines
836 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cloneConstantValueBinding = cloneConstantValueBinding;
const cloneBindingCache_1 = require("./cloneBindingCache");
/**
* Clones a ConstantValueBinding
*/
function cloneConstantValueBinding(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 as it's a resolved value
value: binding.value,
};
}
//# sourceMappingURL=cloneConstantValueBinding.js.map