The recently added spatialIndex access is not a valid Property in types.d.ts, therefore not allowing it to be accessed by the scatterplot.get() method. This is annoying when trying to use it in a typescript project. Should be as easy of a fix as defining the PointIndex type adding a line pointIndex: PointIndexhere.
The recently added
spatialIndex
access is not a validProperty
intypes.d.ts
, therefore not allowing it to be accessed by thescatterplot.get()
method. This is annoying when trying to use it in a typescript project. Should be as easy of a fix as defining thePointIndex
type adding a linepointIndex: PointIndex
here.Thanks in advance :)