Hacker News new | ask | show | jobs
by DanRosenwasser 3274 days ago
Or to go all-in - we have a `--strict` flag that gives you `noImplicitAny`, `strictNullChecks`, `noImplicitThis`, and a mode that always puts you in `"use strict"` mode.
2 comments

I don't understand why `strictNullChecks` is not the default behavior. It being a special compiler option makes me somewhat dubious of TypeScript in general.
Backwards compatibility.
Ah, cool! The last major project I worked on in TS was still before null and this checking.