Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit e98def4

Browse files
committed
fix(change-detection): solving lint issues
1 parent fdfc30c commit e98def4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/composables/useDynamicForm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
ValidationEvent,
88
InputEvent,
99
DynamicForm,
10+
InputBase,
1011
} from '@/core/models';
1112
import {
1213
computed,
@@ -16,7 +17,6 @@ import {
1617
ref,
1718
Ref,
1819
toRaw,
19-
watch,
2020
} from 'vue';
2121
import { deepClone, hasValue, removeEmpty } from '@/core/utils/helpers';
2222
import { FieldControl } from '@/core/factories';
@@ -41,7 +41,7 @@ interface DynamicFormComposition {
4141
mapControls: (empty?: boolean) => void;
4242
findControlByName: (name: string | unknown) => FormControl<InputType>;
4343
resetForm: () => void;
44-
detectChanges: (fields: any) => void;
44+
detectChanges: (fields: InputBase[]) => void;
4545
}
4646

4747
export function useDynamicForm(

0 commit comments

Comments
 (0)