<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 3.0.1 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** null checks Type 'null' is not assignable **Code** ```ts interface Foo { prop?: boolean; } const bar: Foo = { prop: null }; ``` I am not sure, if it's working as expected with `TypeScript 3`, but I didn't find any reference of this change. With `strictNullChecks`, when having an optional property and one assigns a `null` it now emits an error. I tried asking on `gitter`, but no one confirmed if it's a bug or not. **Expected behavior:** no error. **Actual behavior:** ``` Type 'null' is not assignable to type 'boolean | undefined' ```