cocomo
TTCTheo's Typesafe Cult
•Created by Xanacas on 1/4/2024 in #questions
Typescript bug or am I stupid?
That null check is outside the function, If one of the possible values of latest_charge is null then when the function inside
findindex
is eventually called later, latest_charge might be null. I assume that might be the logic behind the error.4 replies