Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

InterpolatorFactory

An Interpolator factory returns an interpolator function.

The first generic corresponds to the data type of the interpolation boundaries. The second generic corresponds to the data type of the return type of the interpolator.

interface InterpolatorFactory <T, U> {
(a: T, b: T): (t: number) => U;
}

§Type Parameters

§Call Signatures

§
(a: T, b: T): (t: number) => U
[src]

Construct a new interpolator function, based on the provided interpolation boundaries.