style: fix lint:typescript
This commit is contained in:
parent
d1f5430374
commit
079d3f9d50
@ -17,7 +17,9 @@ export interface FormProps extends ReactFormProps {
|
|||||||
onChange?: HandleForm
|
onChange?: HandleForm
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getFormDataObject = (formElement: HTMLFormElement): FormDataObject => {
|
export const getFormDataObject = (
|
||||||
|
formElement: HTMLFormElement
|
||||||
|
): FormDataObject => {
|
||||||
return Object.fromEntries<FormDataEntryValue>(new FormData(formElement))
|
return Object.fromEntries<FormDataEntryValue>(new FormData(formElement))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user