Type Alias EventCallback<T>

EventCallback: (data: T) => void

Callback function type for event handlers

Type Parameters

  • T = unknown