diff --git a/src/utils.ts b/src/utils.ts index 8ab56a7..052eca8 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -62,11 +62,7 @@ export function makeSlot(obj: any, defaultSlot?: Slot): Slot { defaultSlot.master = obj } const slot = defaultSlot ?? new Slot(obj) - - Object.defineProperty(obj, SlotSymbol, { - enumerable: false, - value: slot - }) + metadata.create(obj,slot) return slot }