Type Alias InitDelegate<T, U>

InitDelegate<T, U>: ((x: T) => U)

A function type representing an initializer that transforms an input of type T into an output of type U.

Type Parameters

  • T

    The type of the input parameter.

  • U

    The type of the output parameter.

Type declaration

    • (x): U
    • Parameters

      • x: T

        The input parameter of type T.

      Returns U

      The transformed output of type U.