Skip to content

Commit 965fd17

Browse files
Fix types
1 parent f3b5092 commit 965fd17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/x-charts-pro/src/internals/plugins/useChartProZoom/useChartProZoom.types.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ export interface UseChartProZoomPublicApi {
5353
* @returns {void}
5454
*/
5555
setZoomData: (value: ZoomData[] | ((prev: ZoomData[]) => ZoomData[])) => void;
56+
}
57+
58+
export interface UseChartProZoomInstance extends UseChartProZoomPublicApi {
5659
/**
5760
* Zoom in the chart.
5861
*/
@@ -61,9 +64,6 @@ export interface UseChartProZoomPublicApi {
6164
* Zoom out the chart.
6265
*/
6366
zoomOut: () => void;
64-
}
65-
66-
export interface UseChartProZoomInstance extends UseChartProZoomPublicApi {
6767
/**
6868
* Translate the zoom range (i.e., both start and end) for a specific axis.
6969
* @param {AxisId} axisId The id of the axis to move the zoom range for.

0 commit comments

Comments
 (0)