/** * Hook of persistent methods */ export default function useMethods any>>(fn: T): T;