79104469

Date: 2024-10-19 08:15:50
Score: 1
Natty:
Report link

Instead of:

if (headerKey && headerKey in rowData) {
    rowData[headerKey as keyof TableDataGeneralTemp] = value;
}

Try:

(rowData as any)[headerKey] = value;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Basheer Jarrah