Type alias Transformer<I, O, P>

Transformer<I, O, P>: { name: string; previous?: Transformer<P, I>; transform: ((input: I, context: Context) => O) }

Type Parameters

Type declaration

  • name: string
  • Optional previous?: Transformer<P, I>
  • transform: ((input: I, context: Context) => O)
      • (input: I, context: Context): O
      • Parameters

        Returns O

Generated using TypeDoc