16 lines
262 B
Text
16 lines
262 B
Text
=== tests/cases/compiler/classImplementingInterfaceIndexer.ts ===
|
|
interface I {
|
|
>I : I
|
|
|
|
[index: string]: { prop }
|
|
>index : string
|
|
>prop : any
|
|
}
|
|
class A implements I {
|
|
>A : A
|
|
>I : I
|
|
|
|
[index: string]: { prop }
|
|
>index : string
|
|
>prop : any
|
|
}
|