Hacker News new | ask | show | jobs
by lxcid 3772 days ago
In the comparison between Flow & TypeScript, he mentioned Flow gets non-nullability right. Anyone have any example to illustrate this?
1 comments

In Flow, `var a: string = null` would not typecheck. In Typescript it would.