TypeScript/tests/baselines/reference/indexIntoEnum.types
2015-04-15 16:44:20 -07:00

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
}