We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8825292 commit 26e2fc2Copy full SHA for 26e2fc2
libs/reactive-forms/src/lib/types.ts
@@ -19,7 +19,11 @@ export type ValuesOf<T extends ControlsOf<any>> = {
19
? R
20
: NonUndefined<T[K]> extends FormGroup<infer R>
21
? ValuesOf<R>
22
- : NonUndefined<T[K]> extends FormArray<infer R, infer C> ? R[] : NonUndefined<T[K]>;
+ : NonUndefined<T[K]> extends FormArray<infer R, infer C>
23
+ ? R extends Record<any, any>
24
+ ? ValuesOf<R>[]
25
+ : R[]
26
+ : NonUndefined<T[K]>;
27
};
28
29
export type DeepPartial<T> = {
0 commit comments