Documentation
    Preparing search index...

    Type Alias TwingTemplateLoader

    TwingTemplateLoader: (
        name: string,
        from: string | null,
    ) => Promise<TwingTemplate | null>

    Loads a template by its name.

    Type declaration

      • (name: string, from: string | null): Promise<TwingTemplate | null>
      • Parameters

        • name: string

          The name of the template to load

        • from: string | null

          The name of the template that requested the load

        Returns Promise<TwingTemplate | null>