Object destructuring in TypeScript
The cool part about TypeScript is that we can define types for certain variables. However, there is a...