```ts function foo() { } if (!foo) { let x = 10 } else { } ``` **Expected**: Error on `!foo` that the condition is always true because `foo` is defined. **Actual**: No error. Also, any work on this should include the following test: ```ts function foo() { } if (!foo) { } else { foo() } ```