Properti Antarmuka TypeScript Berbagai jenis

interface Foo {
    bar:string|boolean;
}
Defiant Dove