5 lines
85 B
TypeScript
5 lines
85 B
TypeScript
//@target: ES6
|
|
//@declaration: true
|
|
class C {
|
|
[Symbol.toPrimitive]: number;
|
|
} |