Logos DX
    Preparing search index...

    Type Alias DeepNotOptional<T>

    DeepNotOptional: {
        [K in keyof T]-?: T[K] extends object ? DeepNotOptional<T[K]> : T[K]
    }

    Makes all properties in a nested object required recursively.

    Type Parameters

    • T
    interface Config { api: { url: string; timeout: number; }; ui: { theme: string; }; }
    function updateConfig(partial: DeepNotOptional<Config>): void
    updateConfig({ api: { url: 'https://example.com' } }); // Both url and timeout are required