1 | ;
|
2 | // Type-only circular import
|
3 | // eslint-disable-next-line import/no-cycle
|
4 | Object.defineProperty(exports, "__esModule", { value: true });
|
5 | var internalSlotMap = new WeakMap();
|
6 | function getInternalSlots(x) {
|
7 | var internalSlots = internalSlotMap.get(x);
|
8 | if (!internalSlots) {
|
9 | internalSlots = Object.create(null);
|
10 | internalSlotMap.set(x, internalSlots);
|
11 | }
|
12 | return internalSlots;
|
13 | }
|
14 | exports.default = getInternalSlots;
|