( x: DateTimeFormat )
| 12 | >() |
| 13 | |
| 14 | export default function getInternalSlots( |
| 15 | x: DateTimeFormat |
| 16 | ): IntlDateTimeFormatInternal { |
| 17 | let internalSlots = internalSlotMap.get(x) |
| 18 | if (!internalSlots) { |
| 19 | internalSlots = Object.create(null) as IntlDateTimeFormatInternal |
| 20 | internalSlotMap.set(x, internalSlots) |
| 21 | } |
| 22 | return internalSlots |
| 23 | } |