Skip to content

UnwrapModels

type UnwrapModels<T, Iteration> = Iteration["length"] extends 8 ? T : { [K in keyof T]: T[K] extends AnySchema ? UnwrapSchema<T[K]> : T[K] extends Record<string, unknown> ? UnwrapModels<T[K], [...Iteration, 0]> : T[K] };

Defined in: elysia/dist/types.d.ts:706

Type ParameterDefault type
T extends Record<string, unknown>-
Iteration extends number[][]

Last updated:

Type to search the documentation.

    Up arrowDown arrow to navigateEnter to selectEscape to close