ResetErrors
Reset the errors to the initial state
resetErrors()
const TsForm = createForm({
name: "user"
});
TsForm.field("name").setError("invalid");
TsForm.getErrors();
// {name: "invalid"}
TsForm.resetErrors();
TsForm.getErrors();
// {name: undefined}