Skip to main content

stub

Callable

  • stub<T>(value: string): T

  • Marks a placeholder value that a later step fills in - typically a resource property whose real value is only known once the infrastructure exists.

    It is a type assertion and nothing more; it emits the string you give it.

    @group

    Types


    Type parameters

    • T

    Parameters

    • value: string

    Returns T