❓[SUPPORT]: removeItem repairType object possibly undefined #1715
Labels
discussion
An issue that discusses design decisions.
good first issue
Good for newcomers
investigate
Requires some investigation
not an issue
An issue logged that doesn't require fixing (maybe just a question)
released
Milestone
When I use
removeItem
state operator then TypeScript complains thatmessage
object can be possibly undefined even though I specified the type forremoveItem
operator. I could fix the issue with optional chaining but that is not possible if I want to use a utility library likeRamda
With
Ramda
:How do people use state operators? Do they really use optional chaining EVERY time they use state operator? 🙂
The text was updated successfully, but these errors were encountered: