I encountered the following error when I wrote code using \'Optional Changing\'.
type Foo = { b?: number } const foo:Foo = {} if (foo?.b) { console.log(