Just thinking about all those bugs that @flowtype could've caught
Just kidding, we know you write perfect code 
What are the semantics of A.p.f that you're trying to capture?
-
-
class Array<T>{ filter(fn: typeof Boolean): Array<$NonNull<T>>; }
-
that’s the type I added to the flow-core lib. Again, not saying this is some big reason for preferring Flow. just many small things
-
After the non-nullable types and flow analysis. Typescript is pretty good. Just not quite Flow level yet.
-
fwiw, as someone who works on
#rustlang, I can understand advanced type system features. Lay it on me :) -
hey. Got all the respect for you in the world. You probably know way more about type systems than I can imagine.
-
I'm very interested in the concrete thing you're trying to express. I'll be the first to admit deficiencies in TS.
-
maybe it's a little academic. All I'm trying to express is an overloaded type for the Array filter method.
-
so while normally .filter will return the same array type as the input. If the function is the Boolean class it removes the nulla
- 13 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.