0.1.0 • Published 4 years ago
ts-not v0.1.0
ts-not
Node module implementing type negation for TypeScript. Does not work in some cases involving arrays, trying to think of fix
Installation
npm i ts-notNot<T>
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
Uni
The type Uni is the universal set of possible TypeScript variables