Skip to content

Commit ff3c48f

Browse files
committed
interpolation
1 parent 1b7550e commit ff3c48f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/interpolate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export function isSupportedInterpolationColorSpace(colorSpace: string): colorSpa
2424
* @returns interpolation fn
2525
* @deprecated use `interpolate[type]` instead
2626
*/
27-
export const interpolateFactory = (interpolationType: 'number'|'color'|'projectionType'|'array'|'padding'|'variableAnchorOffsetCollection') => {
27+
export const interpolateFactory = (interpolationType: 'number'|'color'|'projection'|'array'|'padding'|'variableAnchorOffsetCollection') => {
2828
switch (interpolationType) {
2929
case 'number': return number;
3030
case 'color': return color;
31-
case 'projectionType': return projection;
31+
case 'projection': return projection;
3232
case 'array': return array;
3333
case 'padding': return padding;
3434
case 'variableAnchorOffsetCollection': return variableAnchorOffsetCollection;

0 commit comments

Comments
 (0)