This commit is contained in:
Tom Moor
2022-12-15 09:29:30 -05:00
parent 9f2d29b68b
commit 78dd03dcdb

View File

@@ -194,7 +194,10 @@ export const isSubstringInArray = function (str: string, arr: string[]): number
* @param defaultCurve - The default curve to return
* @returns The curve factory to use
*/
export function interpolateToCurve(interpolate: string | undefined, defaultCurve: CurveFactory): CurveFactory {
export function interpolateToCurve(
interpolate: string | undefined,
defaultCurve: CurveFactory
): CurveFactory {
if (!interpolate) {
return defaultCurve;
}