uselotus / lotus

File .deepsource.toml not found in the default branch of the repository root. Please refer to the docs.

typeof expressions should be compared against valid strings JS-0028
Bug risk
Major
a year agoa year old
310      if (data) {
311        const metricList: string[] = [];
312        for (let i = 0; i < data.length; i++) {
313          if (typeof data[i].billable_metric_name !== undefined) {314            metricList.push(data[i].billable_metric_name as unknown as string);
315          }
316