CaptionsHandler type

Callback definition for handling the CaptionsReceivedEventType event

type CaptionsHandler = (data: CaptionsInfo) => void