Type alias ModelToObject<T>

ModelToObject<T>: T extends (infer U)[]
    ? _ModelToObject<U>[]
    : _ModelToObject<T>

Describes the mapping from Model types to the corresponding JSON output type.

Type Parameters

  • T