14 lines
267 B
JavaScript
14 lines
267 B
JavaScript
//// [classImplementingInterfaceIndexer.ts]
|
|
interface I {
|
|
[index: string]: { prop }
|
|
}
|
|
class A implements I {
|
|
[index: string]: { prop }
|
|
}
|
|
|
|
//// [classImplementingInterfaceIndexer.js]
|
|
var A = (function () {
|
|
function A() {
|
|
}
|
|
return A;
|
|
})();
|