If I have a property that might be a string or a boolean how do I define it:
interface Foo{ bar:string; bar:boolean; }
I don\'t want
As of 2015, union-types work:
interface Foo { bar:string|boolean; }