chore: code style

This commit is contained in:
Yash Singh 2024-05-04 16:37:07 -07:00
parent c021f71afc
commit 05bdb05a9e
2 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import { interpolateToCurve } from './utils.js';
import type { interpolateToCurve } from './utils.js';
export interface Point {
x: number;

View File

@ -230,10 +230,7 @@ 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
) {
export function interpolateToCurve(interpolate: string | undefined, defaultCurve: CurveFactory) {
if (!interpolate) {
return defaultCurve;
}