Type Alias RenderTemplate<T>

RenderTemplate: (data: T) => Element | string

Type Parameters

  • T

Type declaration

    • (data: T): Element | string
    • Parameters

      • data: T

        the reflection to render

      Returns Element | string

      either a string to be written to the file, or an element to be serialized and then written.