7 lines
No EOL
76 B
TypeScript
7 lines
No EOL
76 B
TypeScript
interface I {
|
|
[x = '']: string;
|
|
}
|
|
|
|
class C {
|
|
[x = 0]: string
|
|
} |