You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like all the response interfaces have optional keys (along with some being nullable).
Do these both need to be the case, or is specifying the ones as nullable sufficient? It also seems like these are aggressively nullable, so I'm wondering if all those null scenarios are possible.
It seems a bit cumbersome to have to check for the existence of every key in typescript if it's not nullable.
(I know I can use Required to enforce non-optional, but I'm still wondering if there's something worth looking at here).
The text was updated successfully, but these errors were encountered:
It seems like all the response interfaces have optional keys (along with some being nullable).
Do these both need to be the case, or is specifying the ones as nullable sufficient? It also seems like these are aggressively nullable, so I'm wondering if all those null scenarios are possible.
It seems a bit cumbersome to have to check for the existence of every key in typescript if it's not nullable.
(I know I can use
Required
to enforce non-optional, but I'm still wondering if there's something worth looking at here).The text was updated successfully, but these errors were encountered: