DeepMap
type DeepMap<T, TValue> = IsAny<T> extends true ? any : T extends BrowserNativeObject | NestedValue ? TValue : T extends object ? [K in keyof T]: DeepMap<NonUndefined<T[K]>, TValue> : TValue;
§Type
§
IsAny<T> extends true ? any : T extends BrowserNativeObject | NestedValue ? TValue : T extends object ? [K in keyof T]: DeepMap<NonUndefined<T[K]>, TValue> : TValue
[src]