15 lines
172 B
Text
15 lines
172 B
Text
|
=== tests/cases/compiler/autonumberingInEnums.ts ===
|
||
|
enum Foo {
|
||
|
>Foo : Foo
|
||
|
|
||
|
a = 1
|
||
|
>a : Foo
|
||
|
}
|
||
|
|
||
|
enum Foo {
|
||
|
>Foo : Foo
|
||
|
|
||
|
b // should work fine
|
||
|
>b : Foo
|
||
|
}
|