14 lines
181 B
Plaintext
14 lines
181 B
Plaintext
=== 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
|
|
}
|