I can merge enum declarations within a single file e.g.
export enum Test {
value1 = \'value1\',
value2 = \'value2\'
}
export enum
After some research I must admit I cannot find a super-proper way to do that.
But there are two possible solutions that are not that bad and not stinking that much.
First is implementing a custom enum - this way is not allowing to consume already existing enums. This is probably the only limitation of this method. Other than that it looks simple and quite native.
Another way is a big hackaround with [merging enums into one value with a separate type declaration. This way allows to consume already existing, real enums; however it is less comfortable to use because there are two entities to be aware of: enum value and enum type.