79281154

Date: 2024-12-14 18:21:30
Score: 2
Natty:
Report link

So i had a similar issue but with an object and the solution was to write it like this:

this.class.update(x => { let r = ({...x, selfCheckIn:!x!.selfCheckIn}) as ClassDTO return (val)?r:x }) Some More details here Github Response Source

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jaime Reynoso