24 lines
359 B
TypeScript
24 lines
359 B
TypeScript
//// [mergedDeclarations2.ts]
|
|
enum Foo {
|
|
b
|
|
}
|
|
enum Foo {
|
|
a = b
|
|
}
|
|
|
|
module Foo {
|
|
export var x = b
|
|
}
|
|
|
|
//// [mergedDeclarations2.js]
|
|
var Foo;
|
|
(function (Foo) {
|
|
Foo[Foo["b"] = 0] = "b";
|
|
})(Foo || (Foo = {}));
|
|
(function (Foo) {
|
|
Foo[Foo["a"] = 0] = "a";
|
|
})(Foo || (Foo = {}));
|
|
(function (Foo) {
|
|
Foo.x = b;
|
|
})(Foo || (Foo = {}));
|