From b0a2406891c19ccef6cc6fcb20f97dba14af988d Mon Sep 17 00:00:00 2001 From: Stanislav Demydiuk Date: Sat, 3 Feb 2024 11:17:32 +0200 Subject: [PATCH] Update types.ts --- packages/sankey/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sankey/src/types.ts b/packages/sankey/src/types.ts index 8f4d69102..12425046d 100644 --- a/packages/sankey/src/types.ts +++ b/packages/sankey/src/types.ts @@ -88,7 +88,7 @@ export interface SankeyDataProps { export type SankeyLayerId = 'links' | 'nodes' | 'labels' | 'legends' -export type SankeyMouseHandler = ( +export type SankeyMouseHandler = ( data: SankeyNodeDatum | SankeyLinkDatum, event: MouseEvent ) => void