Skip to content

[F] interpolatePath

function interpolatePath(pathTemplate, predefinedVariables): string

Interpolate a path template

Parameters

ParameterTypeDescription
pathTemplatestringPath template
predefinedVariablesRecord<string, undefined | string>Variables that can be used in the path template.

Returns

string