TypeScript/tests/cases/compiler/quotedPropertyName3.ts
2014-07-12 17:30:19 -07:00

7 lines
125 B
TypeScript

class Test {
"prop1": number;
foo() {
var x = () => this["prop1"];
var y: number = x();
}
}