chore: Removed unused type declaration
This commit is contained in:
parent
65b2ec4cc8
commit
ea54f0a800
@ -27,11 +27,6 @@ import {
|
|||||||
import { FormularioField } from '@/types'
|
import { FormularioField } from '@/types'
|
||||||
import { Violation } from '@/validation/validator'
|
import { Violation } from '@/validation/validator'
|
||||||
|
|
||||||
type ValidationEventPayload = {
|
|
||||||
name: string;
|
|
||||||
violations: Violation[];
|
|
||||||
}
|
|
||||||
|
|
||||||
const update = (state: Record<string, unknown>, path: string, value: unknown): Record<string, unknown> => {
|
const update = (state: Record<string, unknown>, path: string, value: unknown): Record<string, unknown> => {
|
||||||
if (value === undefined) {
|
if (value === undefined) {
|
||||||
return unset(state, path) as Record<string, unknown>
|
return unset(state, path) as Record<string, unknown>
|
||||||
|
Loading…
Reference in New Issue
Block a user