• Type Parameters

    • M extends PropertyKey
    • T extends Record<string, any>
    • K extends string | number | symbol
    • G = T[K]
    • S = T[K]

    Parameters

    • props: T
    • name: K
    • Optionaloptions: DefineModelOptions<T[K], G, S>

    Returns ModelRef<T[K], M, G, S>