Function forwardRef

  • Allows to refer to references which are not yet defined.

    For instance, forwardRef is used when the token which we need to refer to for the purposes of DI is declared, but not yet defined. It is also used when the token which we use when creating a query is not yet defined.

    Usage Notes

    Example

    {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}

    Public Api

    Parameters

    Returns Type<any>

Generated using TypeDoc