Here is a short note:
Typescript: use AnyFunction instead of Function type
(You can click anywhere to change note)