4 lines
No EOL
87 B
TypeScript
4 lines
No EOL
87 B
TypeScript
class C {
|
|
// Used to be indexer, now it is a computed property
|
|
[x]: string
|
|
} |