Node module implementing type negation for TypeScript. Does not work in some cases involving arrays, trying to think of fix
npm i ts-not
For any type T
, Not<T>
is a type whose set of possible instantiations is equivalent to the set of possible TS variables that are not assignable to T
The type Uni
is the universal set of possible TypeScript variables