• Builds a list of placeholders from a list of placeholder names and application functions.

    Parameters

    • fnDict: {
          [key: string]: ((str, context?) => Promise<{
              result: string;
              [key: string]: unknown;
          }>);
      }

      A dictionary of placeholder names and application functions.

      • [key: string]: ((str, context?) => Promise<{
            result: string;
            [key: string]: unknown;
        }>)
          • (str, context?): Promise<{
                result: string;
                [key: string]: unknown;
            }>
          • Parameters

            • str: string
            • Optional context: {
                  [key: string]: unknown;
              }
              • [key: string]: unknown

            Returns Promise<{
                result: string;
                [key: string]: unknown;
            }>

    Returns Placeholder[]

    A list of placeholders.

Generated using TypeDoc