**TypeScript Version:** 2.2.1 **Code** ```ts function foo(bar: string | undefined = '') { bar = undefined; // ^ Type 'undefined' is not assignable to type 'string'. } ``` Possibly related to #13826.