@formatjs/intl-relativetimeformat
Version:
Formats JavaScript dates to relative time strings.
15 lines (14 loc) • 454 B
JavaScript
// Type-only circular import
// eslint-disable-next-line import/no-cycle
Object.defineProperty(exports, "__esModule", { value: true });
var internalSlotMap = new WeakMap();
function getInternalSlots(x) {
var internalSlots = internalSlotMap.get(x);
if (!internalSlots) {
internalSlots = Object.create(null);
internalSlotMap.set(x, internalSlots);
}
return internalSlots;
}
exports.default = getInternalSlots;
;