• Focuses to the given keys of object.

    Type Parameters

    • const K extends readonly PropertyKey[]

    • O extends Readonly<Record<K[number], unknown>>

    Parameters

    • keysToUpdate: K

    Returns Optic<O, O, Entries<O, K>, Entries<O, K>>

    The lens for indexing.

Generated using TypeDoc