18 lines
367 B
TypeScript
18 lines
367 B
TypeScript
//// [declFileClassWithIndexSignature.ts]
|
|
|
|
class BlockIntrinsics {
|
|
[s: string]: string;
|
|
}
|
|
|
|
//// [declFileClassWithIndexSignature.js]
|
|
var BlockIntrinsics = (function () {
|
|
function BlockIntrinsics() {
|
|
}
|
|
return BlockIntrinsics;
|
|
})();
|
|
|
|
|
|
//// [declFileClassWithIndexSignature.d.ts]
|
|
declare class BlockIntrinsics {
|
|
[s: string]: string;
|
|
}
|