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
The issue is that type NotFoo = Exclude<string, "foo"> is inferred as string. Exclude only works for unions of types since it distributes the Exclude over the union.
The issue is that
type NotFoo = Exclude<string, "foo">
is inferred asstring
.Exclude
only works for unions of types since it distributes theExclude
over the union.Resources:
The text was updated successfully, but these errors were encountered: