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
{{ message }}
Repository navigation
Supporting negative types is very convenientΒ #55000
Many typescript users want the ability to negate types
typeNotStr=notstring;
At present, typescript does not have real negative types, but if negative types can be applied in some actual development scenarios, it will be able to express types more clearly and directly. I think this is the basic function that a Type system should have. Without this function, developers may use some imprecise and complex ways to implement flexibly, which is not good
I've seen a PR that was turned off, which is a real shame #29317
Activity
olivermrose commentedon Jul 13, 2023
Duplicate of #4196 (#29317 (comment))
typescript-bot commentedon Jul 16, 2023
This issue has been marked as "Duplicate" and has seen no recent activity. It has been automatically closed for house-keeping purposes.