Type Alias Callback<T>

Callback<T>: ((t: T) => void)

Type representing a callback function.

Type Parameters

  • T

    The type of the parameter for the callback function.

Type declaration

    • (t): void
    • Parameters

      • t: T

        The parameter for the callback function.

      Returns void