Type alias Code<T>

Code<T>: (() => Promise<T>)

Type Parameters

  • T = unknown

Type declaration

    • (): Promise<T>
    • Returns Promise<T>