SyntaxError: Variable 'Foo' has already been declared. [test-enum-declaration4.ts:20:10]