Re:Exploring Flow, Facebook's Type Checker for JavaScript
by spion on Sunday January 04, 2015 @08:34PM
(#8836698)
Really? Why are they annoying?
Re:Exploring Flow, Facebook's Type Checker for JavaScript
by igl on Sunday January 04, 2015 @10:49PM
(#8837128)
Optional parameters have ? as postfix too.
Resulting code like: function foo(x?:?string):?string { return x; }
I would much rather like a null type, or even better: have null be declared as void too.
I will rather wait until TypeScript pleases me with union types and proper es6 alignment.