Function promisifyNoError

  • Type Parameters

    • T

    Parameters

    • fn: Function
    • Optionalcontext: any

    Returns ((...args: any[]) => Promise<T>)

      • (...args): Promise<T>
      • Parameters

        • Rest...args: any[]

        Returns Promise<T>