79528671

Date: 2025-03-23 08:39:17
Score: 1
Natty:
Report link

TypeScript is not able to infer the type of the profil prop in your function, so it assumes it has the 'any' type. You should either define an interface or type for the profil prop.

type Profil = {
  name: string;
};

interface Profil {
  name: string;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shub4am