Object destructuring in TypeScript
Briefly

Technically, the way it works is that it assigns the title property of the object to a variable named string and the comments property to the number variable.
Read at Wisdom Geek
[
|
]