Documentation
    Preparing search index...

    Type Alias SelectorValue<T, S>

    SelectorValue: S extends `.${infer K}`
        ? K extends keyof T ? T[K] : never
        : S extends `[${infer I}]` ? T extends (infer U)[] ? U : never : never

    Extracts the type of the value at a given selector path (minimal version)

    Type Parameters

    • T
    • S extends string