Свойство интерфейса TypeScript несколько типов
interface Foo {
bar:string|boolean;
}
Defiant Dove
interface Foo {
bar:string|boolean;
}