Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: