TypeScript/tests/baselines/reference/indexWithoutParamType2.js

13 lines
229 B
TypeScript

//// [indexWithoutParamType2.ts]
class C {
// Used to be indexer, now it is a computed property
[x]: string
}
//// [indexWithoutParamType2.js]
var C = (function () {
function C() {
}
return C;
})();