Make fromThrowable accept functions with varying degrees of arity
Fixes #300
This PR updates the type definition of Result.fromThrowable
in order to allow accepting functions that take 1 - n arguments.
Thanks to @universalhandle for the contribution π