mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 20:24:16 +01:00
Add the appropriate type checks to ensure that we're only ever calling:
- `insertCluster()` with `ClusterNode`
- `insertNode()` with a `NonClusterNode`
Fixes: 7401cb8f6a