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