mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
365 B
TypeScript
18 lines
365 B
TypeScript
//// [tests/cases/compiler/declFileClassWithIndexSignature.ts] ////
|
|
|
|
//// [declFileClassWithIndexSignature.ts]
|
|
class BlockIntrinsics {
|
|
[s: string]: string;
|
|
}
|
|
|
|
//// [declFileClassWithIndexSignature.js]
|
|
"use strict";
|
|
class BlockIntrinsics {
|
|
}
|
|
|
|
|
|
//// [declFileClassWithIndexSignature.d.ts]
|
|
declare class BlockIntrinsics {
|
|
[s: string]: string;
|
|
}
|