mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
296 B
TypeScript
15 lines
296 B
TypeScript
//// [tests/cases/compiler/classImplementingInterfaceIndexer.ts] ////
|
|
|
|
//// [classImplementingInterfaceIndexer.ts]
|
|
interface I {
|
|
[index: string]: { prop }
|
|
}
|
|
class A implements I {
|
|
[index: string]: { prop }
|
|
}
|
|
|
|
//// [classImplementingInterfaceIndexer.js]
|
|
"use strict";
|
|
class A {
|
|
}
|