TypeScript Version:
1.8.2.
Code
// A self-contained demonstration of the problem follows...classFoo{bar: "fizz"|"buzz";}classBarextendsFoo{bar="fizz";}Expected behavior:
Bar.bar is initialized to "fizz";
Actual behavior:
Type 'string' is not assignable to type '"buzz"'
TypeScript Version:
1.8.2.
Code
Expected behavior:
Bar.baris initialized to"fizz";Actual behavior:
Type 'string' is not assignable to type '"buzz"'