LOL omg this is great 
-
-
What does it do for parseInt?
-
parseInt(string: string, radix?: number): number;
-
In strict null mode (the correct mode) you can't pass null or undefined to parseInt
-
And for the JSON.stringify case? You can pass a string because it's the spec but most of the time you want an object.
-
I need a way to ensure i'm not passing a string by mistake. Signatures are spec, i just want to avoid mistakes.
-
Calling JSON.stringify on strings is actually very useful
End of conversation
New conversation -
-
-
flow-runtime is great for dev-mode. Types are compiled to runtime assertions. https://codemix.github.io/flow-runtime/
-
And in prod you can enable specific files with a pragma. It's very useful when interacting with outside world, e.g. server json response
End of conversation
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.