I often have to destructure JS objects and only use the rest/spread part. Typescript then shows the error of the unused variable.
For example, in the attached screenshot, you can see that while destructuring cart, I have a use-case where products is not being used while all other keys/members are being used.
TS warning is genuine so is there any way to resolve this warning of no unused vars.