16 lines
226 B
JavaScript
16 lines
226 B
JavaScript
|
//// [indexerSignatureWithRestParam.ts]
|
||
|
interface I {
|
||
|
[...x]: string;
|
||
|
}
|
||
|
|
||
|
class C {
|
||
|
[...x]: string
|
||
|
}
|
||
|
|
||
|
//// [indexerSignatureWithRestParam.js]
|
||
|
var C = (function () {
|
||
|
function C() {
|
||
|
}
|
||
|
return C;
|
||
|
})();
|