mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: types
This commit is contained in:
parent
3e2cd23f16
commit
920ce678ca
1
src/types/topology.d.ts
vendored
1
src/types/topology.d.ts
vendored
@ -51,6 +51,7 @@ export interface Node {
|
||||
y?: number;
|
||||
level?: number;
|
||||
l?: number;
|
||||
key?: string;
|
||||
}
|
||||
|
||||
export interface ServiceHierarchy {
|
||||
|
@ -148,7 +148,7 @@ limitations under the License. -->
|
||||
popover.value.style("visibility", "hidden");
|
||||
}
|
||||
|
||||
function handleNodeClick(event: MouseEvent, d: Node & { serviceId: string; key: string }) {
|
||||
function handleNodeClick(event: MouseEvent, d: Node & { serviceId: string }) {
|
||||
const origin = dashboardStore.entity;
|
||||
event.stopPropagation();
|
||||
hideTip();
|
||||
|
@ -156,7 +156,7 @@ limitations under the License. -->
|
||||
popover.value.style("visibility", "hidden");
|
||||
}
|
||||
|
||||
function handleNodeClick(event: MouseEvent, d: Node & { key: string }) {
|
||||
function handleNodeClick(event: MouseEvent, d: Node) {
|
||||
const origin = dashboardStore.entity;
|
||||
event.stopPropagation();
|
||||
hideTip();
|
||||
|
Loading…
Reference in New Issue
Block a user