Jeff Lau

Results 4 comments of Jeff Lau

Everything in `ts-enum-util` related to key validation/comparison is case sensitive, so there's no direct support for what you want to do. Your solution seems reasonable, unless you test and identify...

Here's my practical example where partial inference of template params would be very nice... Reference this playground link where I experimented with creating a visitor pattern implementation for string literal...

Another related use case: an "isEmpty" function, like lodash's `_.isEmpty` would be more useful if a `false` result could indicate to the compiler that the param is not `null |...

I'll have to think on this for a while and experiment when I have some extra time, but my gut reaction is that this may not be possible, or the...