Periodic Table Database Schema - v0.7.1
    Preparing search index...

    Type Alias DeepOptional<T>

    DeepOptional: T extends PropertyWrapper
        ? T
        : T extends (infer U)[]
            ? DeepOptional<U>[]
            : T extends object ? { [K in keyof T]?: DeepOptional<T[K]> } : T

    Recursive utility to make all fields of a collection structure optional for overrides but keep property types as is.

    Type Parameters

    • T

      The structure to make optional.