• Type Parameters

    • M extends PropertyKey
    • T extends Record<string, any>
    • K extends string | number | symbol

    Parameters

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

    Returns ModelRef<T[K], M>