TypeScript/tests/baselines/reference/autonumberingInEnums.types

16 lines
185 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/autonumberingInEnums.ts ===
enum Foo {
>Foo : Foo
2014-08-15 23:33:16 +02:00
a = 1
>a : Foo
2015-04-13 21:36:11 +02:00
>1 : number
2014-08-15 23:33:16 +02:00
}
enum Foo {
>Foo : Foo
2014-08-15 23:33:16 +02:00
b // should work fine
>b : Foo
2014-08-15 23:33:16 +02:00
}