In my TypeScript I have many methods like this and in any method witch have the same parameter or return type I should repeat these union types:
foo(bar: \'a\