8 lines
No EOL
150 B
TypeScript
8 lines
No EOL
150 B
TypeScript
declare enum E1 {
|
|
y = 4.23
|
|
}
|
|
|
|
// Ambient enum with computer member
|
|
declare enum E2 {
|
|
x = 'foo'.length
|
|
} |