title: How to type function that take parameters single key:value from object
body: <p><a href="https://i.stack.imgur.com/Koa0X.png" rel="nofollow noreferrer">How to type parameters in function(key, value)?</a></p>