Skip to content

Commit 52dc2f4

Browse files
committed
a
1 parent 6939031 commit 52dc2f4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/utils.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ export function makeSlot(obj: any, defaultSlot?: Slot): Slot {
6262
defaultSlot.master = obj
6363
}
6464
const slot = defaultSlot ?? new Slot(obj)
65-
66-
Object.defineProperty(obj, SlotSymbol, {
67-
enumerable: false,
68-
value: slot
69-
})
65+
metadata.create(obj,slot)
7066
return slot
7167
}
7268

0 commit comments

Comments
 (0)