Skip to content

prefix

function prefix<T, Models>(prefix, models): { [k in string | number | symbol as `${T}.${k & string}`]: Models[k] };

Defined in: elysia/dist/utils.d.ts:207

Type Parameter
T extends string
Models extends Record<string, AnySchema>
ParameterType
prefixT
modelsModels

{ [k in string | number | symbol as `${T}.${k & string}`]: Models[k] }

Last updated:

Type to search the documentation.

    Up arrowDown arrow to navigateEnter to selectEscape to close