( instance: Segmenter, key: K )
| 525 | const __INTERNAL_SLOT_MAP__ = new WeakMap<Segmenter, SegmenterInternalSlots>() |
| 526 | |
| 527 | function getSlot<K extends keyof SegmenterInternalSlots>( |
| 528 | instance: Segmenter, |
| 529 | key: K |
| 530 | ): SegmenterInternalSlots[K] { |
| 531 | return getInternalSlot(__INTERNAL_SLOT_MAP__, instance, key) |
| 532 | } |
| 533 | |
| 534 | function setSlot<K extends keyof SegmenterInternalSlots>( |
| 535 | instance: Segmenter, |
no test coverage detected