From 7d2626ffd0903d8b158ba8d67bb66bc3db99c6a5 Mon Sep 17 00:00:00 2001 From: Megan Riel-Mehan Date: Fri, 24 Aug 2018 15:41:55 -0700 Subject: [PATCH] changed interface name to be clearer --- types/plotly.js/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 17c45b9ca4..7901ec84bf 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -50,7 +50,7 @@ export interface PlotCoordinate { pointNumber: number; } -export interface SelectionDescription { +export interface SelectionRange { x: number[]; y: number[]; } @@ -59,8 +59,8 @@ export type PlotSelectedData = Partial; export interface PlotSelectionEvent { points: PlotScatterDataPoint[]; - range?: SelectionDescription; - lassoPoints?: SelectionDescription; + range?: SelectionRange; + lassoPoints?: SelectionRange; } export type PlotRestyleEvent = [