Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




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

Search: