TypeScript/tests/baselines/reference/classImplementingInterfaceIndexer.js

15 lines
267 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [classImplementingInterfaceIndexer.ts]
interface I {
[index: string]: { prop }
}
class A implements I {
[index: string]: { prop }
}
//// [classImplementingInterfaceIndexer.js]
var A = (function () {
function A() {
}
return A;
})();