TaskEventDetail: {
    error?: unknown;
    task: TaskStatus;
}

Type declaration