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

I just dug a bit deeper as I couldn't remember the differences. They're not referring to the same things.

"alwaysStrict", which adds "use strict", is different than TypeScript "strict" mode, which constrains the language.

Setting "strict" to "true" enables "alwaysStrict", but not the other way around. I'd remove "alwaysStrict" and go with "strict" as it covers more things.



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

Search: