79251324

Date: 2024-12-04 13:26:31
Score: 1
Natty:
Report link

Did you try define the type of your different variables when you extend myType?

Example:

interface myInterface extends myType {
 differentVariable1: myType['variable1']; // Uses the type of 'variable1' from myType
 anExtraVariable: string; 
}
Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: SG52