Module / v1.0.0-beta.13

@typed/template/Renderable

9 unique exports available through this public import path, including their members and aliases.

import * as Renderable from "@typed/template/Renderable";

Renderable failures

  • Renderable.Error

    type-alias

    Extracts the error type from a Renderable type.

  • Renderable.ErrorFromObject

    type-alias

    Traverse all keys in an object and extract the error from each value. If the value is a function, extract the error from the return type of the function.

Renderable inputs

  • Renderable

    type-alias

    Represents any value that can be rendered into a template.

    This includes:

    • Primitives (string, number, boolean, null, undefined)
    • Arrays of Renderables
    • Effects that produce a Renderable
    • Streams (Fx or Stream) that emit Renderables
    • Objects (typically for setting properties or attributes)
  • Renderable.Any

    type-alias

    A type alias for any Renderable value with any error/context.

Renderable output inference

  • Renderable.Success

    type-alias

    Recursively computes the terminal value emitted by a Renderable.

Renderable producers

  • Renderable.Effects

    type-alias

    The Effect ecosystem producers recognized as reactive Renderables.

Renderable requirements

  • Renderable.Services

    type-alias

    Extracts the required services from a Renderable type.

  • Renderable.ServicesFromObject

    type-alias

    Traverse all keys in an object and extract the services from each value. If the value is a function, extract the services from the return type of the function.

Terminal renderable values