Skip to content

Commit

Permalink
fix(core): fixed FieldArrayTypeConfig props declaration
Browse files Browse the repository at this point in the history
fix #3341
  • Loading branch information
dereekb authored and aitboudad committed Jun 10, 2022
1 parent 471599e commit a949453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/src/lib/templates/field-array.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { clone, assignFieldValue, getFieldValue, hasKey } from '../utils';
import { FormlyFieldConfig, FormlyExtension } from '../models';
import { registerControl, unregisterControl, findControl } from '../extensions/field-form/utils';

export interface FieldArrayTypeConfig extends FormlyFieldConfig {
export interface FieldArrayTypeConfig<T = FormlyFieldConfig['props']> extends FormlyFieldConfig<T> {
formControl: FormArray;
props: NonNullable<Required<FormlyFieldConfig>['props']>;
props: NonNullable<T>;
}

@Directive()
Expand Down

0 comments on commit a949453

Please sign in to comment.