We recently updated to typescript 4.6 (from 4.5) and are experiencing some weird this issues. for example we previously had a function defined at #handleUnsaved
I am trying handle below code and its showing enter image description here const toArray = props => (props && props.split ? props.split(',') :
I'm having some issues understanding why I'm getting a compile warning on this piece of my react code fetch('/users') .then(res => res.json())