Documentation
    Preparing search index...

    Function fillObjectWithTemplateVariables

    • Maps and fills every string value in an object based on a variableMap.

      If the target object has a string value containing "${variableName}", the corresponding value from the variableMap will be substitued into it.

      Type Parameters

      • VariableKeys extends SimpleObjectKey
      • T extends Record<string | number, unknown> = Record<string | number, unknown>

      Parameters

      Returns T