Type Alias UnionStatic<T, P>

UnionStatic<T, P>: {
    [K in keyof T]: T[K] extends TSchema
        ? Static<T[K], P>
        : never
}[number]

Type Parameters

  • T extends TSchema[]
  • P extends unknown[]