@alextheman/utility - v5.10.1
    Preparing search index...

    Function interpolateObjects

    • Returns the result of interpolating a template string, also stringifying objects.

      You can pass a template string directly by doing:

      interpolateObjects`Template string here ${{ my: "object" }}`;
      

      Type Parameters

      • const InterpolationsType extends readonly unknown[]

        The type of the interpolations.

      Parameters

      • strings: TemplateStringsArray

        The strings from the template to process.

      • ...interpolations: InterpolationsType

        An array of all interpolations from the template.

      Returns string

      A new string with the strings and interpolations from the template applied, with objects stringified.