• Experimental

    Creates a new MarloweTemplate with the given options. This function helps with the inference of the un-ordered ObjectParams record from the ordered ListParams.

    ObjectParams are useful when coding, to provide name to the parameter without caring about the order, and ListParams are useful to specify how the template parameters should be encoded/decoded in a space performant way.

    Type Parameters

    • ListParams extends readonly TemplateParam<any>[]

      An ordered list of the different parameters that conform the template.

    Parameters

    Returns MarloweTemplate<Expand<TemplateType<ListParams>>>