Untitled
unknown
typescript
2 years ago
263 B
5
Indexable
Never
const integarVal = parseInt(e.target.value); if (isValidInput(integarVal)) { mutations.setDaysValidation({ daysAfter: true }); onDataChanged({ afterDeadline: integarVal || undefined }); } else { mutations.setDaysValidation({ daysAfter: false }); }