0.1.0 • Published 3 years ago

ts-not v0.1.0

Weekly downloads
-
License
CC
Repository
-
Last release
3 years ago

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-not

Not<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