Skip to content

Commit d60d618

Browse files
authored
Merge pull request #181 from ntziolis/master
fix(typings): correctly extract nested oprional form group array typing
2 parents b774fe8 + 5292743 commit d60d618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/reactive-forms/src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type ValuesOf<T extends ControlsOf<any>> = {
2121
? ValuesOf<R>
2222
: NonUndefined<T[K]> extends FormArray<infer R, infer C>
2323
? R extends Record<any, any>
24-
? ValuesOf<R>[]
24+
? ValuesOf<ControlsOf<R>>[]
2525
: R[]
2626
: NonUndefined<T[K]>;
2727
};

0 commit comments

Comments
 (0)