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
This is usually referred to as "union types". The TypeScript type system from 1.4 does allow for this.
See: Advanced Types