79682665

Date: 2025-06-28 02:50:16
Score: 1
Natty:
Report link

While defining the

interface IMGNAMES {
  Image1: IMGPROP;
}

change it to

interface IMGNAMES {
  [key: string]: IMGPROP;
}

Since you're using image property name different for each image (i.e. Image1, Image2 etc)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Zafar Zaidi