(slots: LegacyScopedSlotsData)
| 101 | } |
| 102 | |
| 103 | function mapKeyToName(slots: LegacyScopedSlotsData) { |
| 104 | for (let i = 0; i < slots.length; i++) { |
| 105 | const fn = slots[i] |
| 106 | if (fn) { |
| 107 | if (isArray(fn)) { |
| 108 | mapKeyToName(fn) |
| 109 | } else { |
| 110 | ;(fn as any).name = fn.key || 'default' |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | return slots as any |
| 115 | } |
| 116 | |
| 117 | const staticCacheMap = /*@__PURE__*/ new WeakMap< |
| 118 | ComponentInternalInstance, |
no outgoing calls
no test coverage detected