W3Booster SDK 2.0.0
    Preparing search index...

    Type Alias SettingsPathValue<TSettings, TPath>

    SettingsPathValue: string extends keyof TSettings
        ? Exclude<TSettings[string & keyof TSettings], undefined>
        : TPath extends `${infer TKey}.${infer TRest}`
            ? TKey extends keyof TSettings
                ? SettingsPathValue<NonNullable<TSettings[TKey]>, TRest>
                : never
            : TPath extends keyof TSettings
                ? Exclude<TSettings[TPath], undefined>
                : never

    Type Parameters

    • TSettings
    • TPath extends string