File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/vee-validate/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export function useForm<
131131 const fieldArrays : PrivateFieldArrayContext [ ] = [ ] ;
132132
133133 // a private ref for all form values
134- const formValues = reactive ( resolveInitialValues ( opts ) ) ;
134+ const formValues = reactive ( resolveInitialValues ( opts ) ) as TValues ;
135135
136136 const pathStates = ref < PathState < unknown > [ ] > ( [ ] ) ;
137137
@@ -503,7 +503,7 @@ export function useForm<
503503
504504 if ( result . valid && typeof fn === 'function' ) {
505505 const controlled = deepCopy ( controlledValues . value ) ;
506- let submittedValues = ( onlyControlled ? controlled : values ) as TOutput ;
506+ let submittedValues = ( onlyControlled ? controlled : values ) as unknown as TOutput ;
507507 if ( result . values ) {
508508 submittedValues = result . values ;
509509 }
You can’t perform that action at this time.
0 commit comments