Type alias Builder<T, I>

Builder<T, I>: ((input) => T | Promise<T>)

This is a simple function that takes data of one type and returns data of another type

Type Parameters

  • T
  • I = void

Type declaration

    • (input): T | Promise<T>
    • Parameters

      • input: I

      Returns T | Promise<T>