Type Alias Job

Job: CompletedJob & {
    type?: "CompletedJob";
} | QueuedJob & {
    type?: "QueuedJob";
}