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 type Exclude<number, 0> is exactly the same type as number. It does not do what you think it does. There is no way to represent a type "any number, except 0" in TypeScript. This would first require #29317.
Bug Report
π Search Terms
typeguard exclude union
π Version & Regression Information
v4.6.2
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
error
π Expected behavior
no error
The text was updated successfully, but these errors were encountered: