Formwright
    Preparing search index...

    Type Alias PathValue<M, P>

    PathValue: 0 extends 1 & M
        ? any
        : string extends P
            ? unknown
            : object extends M ? unknown : ValueAt<M, Dotted<P>>

    The type of the value at path in M: PathValue<Account, 'address.city'> is string. Loose models (where Path<M> is string) give unknown.

    Type Parameters

    • M
    • P extends string