mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
23 lines
265 B
TypeScript
23 lines
265 B
TypeScript
class C {
|
|
"a b": number;
|
|
static "c d": number;
|
|
}
|
|
var c: C;
|
|
var r1 = c["a b"];
|
|
var r1b = C['c d'];
|
|
|
|
interface I {
|
|
"a b": number;
|
|
}
|
|
var i: I;
|
|
var r2 = i["a b"];
|
|
|
|
var a: {
|
|
"a b": number;
|
|
}
|
|
var r3 = a["a b"];
|
|
|
|
var b = {
|
|
"a b": 1
|
|
}
|
|
var r4 = b["a b"]; |