UNPKG

373 BTypeScriptView Raw
1declare type ExtrapolateType = 'extend' | 'identity' | 'clamp';
2export declare function interpolate(input: number, inputRange: readonly number[], outputRange: readonly number[], options?: {
3 easing?: (input: number) => number;
4 extrapolateLeft?: ExtrapolateType;
5 extrapolateRight?: ExtrapolateType;
6}): number;
7export {};
8//# sourceMappingURL=interpolate.d.ts.map
\No newline at end of file