mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 05:49:43 +02:00
lint
This commit is contained in:
@@ -194,7 +194,10 @@ export const isSubstringInArray = function (str: string, arr: string[]): number
|
|||||||
* @param defaultCurve - The default curve to return
|
* @param defaultCurve - The default curve to return
|
||||||
* @returns The curve factory to use
|
* @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) {
|
if (!interpolate) {
|
||||||
return defaultCurve;
|
return defaultCurve;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user