1
0
mirror of synced 2024-11-22 05:16:05 +03:00

chore: Removed unused type declaration

This commit is contained in:
Zaytsev Kirill 2021-06-15 11:14:04 +03:00
parent 65b2ec4cc8
commit ea54f0a800

View File

@ -27,11 +27,6 @@ import {
import { FormularioField } from '@/types'
import { Violation } from '@/validation/validator'
type ValidationEventPayload = {
name: string;
violations: Violation[];
}
const update = (state: Record<string, unknown>, path: string, value: unknown): Record<string, unknown> => {
if (value === undefined) {
return unset(state, path) as Record<string, unknown>