title: Is there a type for callback functions in TypeScript?
body: <p><img src="https://i.stack.imgur.com/pifmm.png" alt="enter image description here" />
  The error says <code>Supplied parameter do not match any signature of call target</code>.
  When I replace <code>Function</code> with <code>any</code> as the second parameter's type, the error disappears. But <code>any</code> is the same as no type, isn't there a suitable type for functions as parameters?</p>