mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +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)
|
.style('fill-opacity', 0)
|
||||||
.text((d) => d.data.name)
|
.text((d) => d.data.name)
|
||||||
.on('click', (_, datum) => {
|
.on('click', (_, datum) => {
|
||||||
onClickText(datum);
|
onClickText(datum as unknown as HierarchyPointNode<Node>);
|
||||||
});
|
});
|
||||||
|
|
||||||
const nodeEnterAndUpdate = nodeEnter.merge(node);
|
const nodeEnterAndUpdate = nodeEnter.merge(node);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user