12 lines
168 B
Text
12 lines
168 B
Text
=== tests/cases/compiler/indexIntoEnum.ts ===
|
|
module M {
|
|
>M : typeof M
|
|
|
|
enum E { }
|
|
>E : E
|
|
|
|
var x = E[0];
|
|
>x : string
|
|
>E[0] : string
|
|
>E : typeof E
|
|
}
|