Re:Announcing TypeScript 2.2
by whatever_dude on Wednesday February 22, 2017 @01:54PM
(#13708095)
> you'd need to run it with strictNullChecks disabled. That's probably what you're doing, since it's the default
I think you misinterpreted my reply. I meant the default is off. That's what your code shows.
It's not the default for the command line compiler. Also, all types (except Any/null/undefined) are non-nullable under that option, so that's not what makes object special (it's the no primitive types that is important).