TypeScript/tests/baselines/reference/parserIndexMemberDeclaration1.js

12 lines
193 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [parserIndexMemberDeclaration1.ts]
class C {
[a: string]: number
}
//// [parserIndexMemberDeclaration1.js]
var C = (function () {
function C() {
}
return C;
})();