How to type annotate functions which take functions as args

A couple of relevant prior discussions, in case you’re interested:

1 Like