Can you do it with typescript?
Getting some erorrs here:
if (!!errors[field]) //**
setErrors({
...errors,
[field]: null,
});
**No index signature with a parameter of type 'string' was found on type '{}'
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can you do it with typescript?
Getting some erorrs here:
if (!!errors[field]) //**
setErrors({
...errors,
[field]: null,
});
**No index signature with a parameter of type 'string' was found on type '{}'