(instance: ComponentInternalInstance)
| 68 | } |
| 69 | |
| 70 | export function unregisterHMR(instance: ComponentInternalInstance): void { |
| 71 | map.get(instance.type.__hmrId!)!.instances.delete(instance) |
| 72 | } |
| 73 | |
| 74 | function createRecord(id: string, initialDef: HMRComponent): boolean { |
| 75 | if (map.has(id)) { |