TypeScript #2
Dnešní code-review... 🙂🔫
candidateQuestion: (() => {
const source = offer?.candidateQuestion
const cs = source?.cs ?? ''
const en = source?.en ?? ''
if (!cs && !en)
return { cs: '', en: '' }
return {
cs,
en,
}