TODO 🙃
Using a type alias
type Foo = string | (() => string);
interface Dog { bark: Function; name: string; }