ZoomScale
Minimal interface for a continuous scale. This interface is used as a minimum contract for scale objects that can be passed into zoomTransform methods rescaleX and rescaleY
interface ZoomScale {
copy(): ZoomScale;
domain(): number[] | Date[];
domain(domain: Array<Date | number>): this;
invert(value: number): number | Date;
range(): number[];
range(range: number[]): this;
}