/** * Wrap asynchronous methods to automatically catch exceptions. * * @param fn * @returns any */ export default function (fn: Function): any;