DB
combineLatest(balances$, selectedCurrency$).pipe(
map(([ balances, currency ]) => balances.find(balance => balance.currencyId === currency)),
)
TS2532: Object is possibly 'undefined'.
, и в принципе справедливо с его стороны. Можно ли этот массив как нибудь развернуть в стрим?