Need to get rid of this warning without disabling the eslint. How do I remove a specific property from an JavaScript object? Something like:
const { foo, ...rest } = myObject;
I am seeing this warning:
'for' is assigned a value but never used.eslint@typescript-eslint/no-unused-vars
I want to get rid of this warning, is there any other solution for omitting the properties?