13 lines
181 B
Text
13 lines
181 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
|
|
>0 : number
|
|
}
|