mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Fix type error
This commit is contained in:
parent
df449bb297
commit
2412361401
|
@ -384,7 +384,7 @@ export default function (DOMNode: HTMLElement, options: Partial<Options> = {}) {
|
|||
.style('fill-opacity', 0)
|
||||
.text((d) => d.data.name)
|
||||
.on('click', (_, datum) => {
|
||||
onClickText(datum);
|
||||
onClickText(datum as unknown as HierarchyPointNode<Node>);
|
||||
});
|
||||
|
||||
const nodeEnterAndUpdate = nodeEnter.merge(node);
|
||||
|
|
Loading…
Reference in New Issue
Block a user