23 lines
262 B
Text
23 lines
262 B
Text
|
=== tests/cases/compiler/constEnumMergingWithValues4.ts ===
|
||
|
|
||
|
module foo {
|
||
|
>foo : typeof foo
|
||
|
|
||
|
const enum E { X }
|
||
|
>E : E
|
||
|
>X : E
|
||
|
}
|
||
|
|
||
|
module foo {
|
||
|
>foo : typeof foo
|
||
|
|
||
|
var x = 1;
|
||
|
>x : number
|
||
|
>1 : number
|
||
|
}
|
||
|
|
||
|
|
||
|
export = foo
|
||
|
>foo : typeof foo
|
||
|
|