mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
7 lines
126 B
TypeScript
7 lines
126 B
TypeScript
|
//@target: ES6
|
||
|
class C1 {
|
||
|
[Symbol.toStringTag]() {
|
||
|
return { x: "" };
|
||
|
}
|
||
|
[s: symbol]: () => { x: string };
|
||
|
}
|