mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
30 lines
286 B
TypeScript
30 lines
286 B
TypeScript
|
// @declaration: true
|
||
|
enum T1 {
|
||
|
a = "1",
|
||
|
b = "1" + "2",
|
||
|
c = "1" + "2" + "3"
|
||
|
}
|
||
|
|
||
|
enum T2 {
|
||
|
a = "1",
|
||
|
b = "1" + "2"
|
||
|
}
|
||
|
|
||
|
enum T3 {
|
||
|
a = "1",
|
||
|
b = "1" + "2"
|
||
|
}
|
||
|
|
||
|
enum T4 {
|
||
|
a = "1"
|
||
|
}
|
||
|
|
||
|
enum T5 {
|
||
|
a = "1" + "2"
|
||
|
}
|
||
|
|
||
|
declare enum T6 {
|
||
|
a = "1",
|
||
|
b = "1" + "2"
|
||
|
}
|