TypeScript/tests/cases/conformance/es6/Symbols/symbolDeclarationEmit1.ts

5 lines
85 B
TypeScript
Raw Normal View History

2015-02-07 05:49:58 +01:00
//@target: ES6
//@declaration: true
class C {
[Symbol.toPrimitive]: number;
2015-02-07 05:49:58 +01:00
}