* Clear storage (preserve root node)
()
| 425 | * Clear storage (preserve root node) |
| 426 | */ |
| 427 | clear(): void { |
| 428 | this.nodes.clear(); |
| 429 | this.pathIndex.clear(); |
| 430 | this.initRoot(); |
| 431 | this.emit('store_reset'); |
| 432 | } |
| 433 | |
| 434 | // ============ Serialization ============ |
| 435 |
no test coverage detected