PokéRogue
    Preparing search index...
    AtLeastOne: Partial<T> & ObjectValues<{ [K in keyof T]: Pick<Required<T>, K> }>

    Type helper to mark all properties in T as optional, while still mandating that at least 1 of its properties be present.

    Distinct from Partial as this requires at least 1 property to not be undefined.

    Type Parameters

    • T extends object

      The object type to render partial