Y
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
lebek
3772 days ago
In Flow, `var a: string = null` would not typecheck. In Typescript it would.
link