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
A common pattern for building unions of keys is to first define an as const tuple/array of them then using (typeof arr)[number] to determine the value type. Since those arrays are read-only, they cannot be used with omit.
The text was updated successfully, but these errors were encountered:
A common pattern for building unions of keys is to first define an
as const
tuple/array of them then using(typeof arr)[number]
to determine the value type. Since those arrays are read-only, they cannot be used withomit
.The text was updated successfully, but these errors were encountered: