We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
any
null
1 parent 0eb6d6d commit 4897e7cCopy full SHA for 4897e7c
1 file changed
packages/ui/src/components/form/form-group.ts
@@ -10,16 +10,16 @@ type Mutable<T> = {
10
type GetFormControlPropertyFromArray<T, A> = Mutable<A> extends [infer K, ...infer R]
11
? K extends keyof T
12
? GetFormControlPropertyFromArray<T[K], R>
13
- : null
+ : any
14
: T;
15
16
type GetFormControlProperty<T, S> = S extends `${infer K}.${infer R}`
17
18
? GetFormControlProperty<T[K], R>
19
20
: S extends keyof T
21
? T[S]
22
- : null;
+ : any;
23
24
function find(control: AbstractControl, path: string[] | string, delimiter: string) {
25
if (path == null) return null;
0 commit comments