@kevinburke/flot 5.1.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types/test.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  // sensible types. Run `npx tsc --noEmit types/test.ts` to check.
3
3
 
4
4
  import {
5
+ color,
5
6
  type DataSeries,
6
7
  type Plot,
7
8
  type PlotOptions,
8
- color,
9
9
  plot,
10
10
  saturated,
11
11
  version,
@@ -44,11 +44,11 @@ const p: Plot = plot(el, data, options);
44
44
  // Plot methods
45
45
  p.getData();
46
46
  p.setData(data);
47
- const offset = p.getPlotOffset();
48
- const width: number = p.width();
49
- const height: number = p.height();
50
- const axes = p.getAxes();
51
- const xAxes = p.getXAxes();
47
+ const _offset = p.getPlotOffset();
48
+ const _width: number = p.width();
49
+ const _height: number = p.height();
50
+ const _axes = p.getAxes();
51
+ const _xAxes = p.getXAxes();
52
52
 
53
53
  // Plugin methods (optional)
54
54
  p.highlight?.(0, 0);
@@ -66,7 +66,7 @@ saturated.floorInBase(17, 5);
66
66
  saturated.multiplyAdd(1e300, 10, 5);
67
67
 
68
68
  // Version string
69
- const v: string = version;
69
+ const _v: string = version;
70
70
 
71
71
  // String placeholder also works
72
72
  plot("#placeholder", data);