I made the common utility type more readable. #7832
Unanswered
novice0840
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In "types" file in query-core package, there is a utility type named "WithRequired"
A type that allows you to put keys in the second argument that must be included in the type in the first argument. I believe that using arrays and empty arrays breaks readability, so I propose the new, more readable types below.
Beta Was this translation helpful? Give feedback.
All reactions