Just getting started with Flow but can't seem to understand what it wants me to do with adding types for destructuring objects like i.e. props
i.e.
render({ count }, { displayHelp }) {
Throws an error like
16: render({ count }, { displayHelp }) {
^^^^^^^^^ destructuring. Missing annotation
and when I add annotation it still complains
17: render({ count: number }, { displayHelp }) {
^^^^^^^^^^^^^^^^^ destructuring. Missing annotation
I am obviously missing something very simple here if anybody could point out ?