Negated types · Issue #4196 · microsoft/TypeScript
Sometimes it is desired to forbid certain types from being considered. Example: JSON.stringify(function() {}); doesn't make sense and the chance is high it's written like this by mistake. With nega...