2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/classImplementingInterfaceIndexer.ts ===
|
|
|
|
interface I {
|
2015-04-16 01:44:20 +02:00
|
|
|
>I : I
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
[index: string]: { prop }
|
2015-04-16 01:44:20 +02:00
|
|
|
>index : string
|
|
|
|
>prop : any
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
class A implements I {
|
2015-04-16 01:44:20 +02:00
|
|
|
>A : A
|
|
|
|
>I : I
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
[index: string]: { prop }
|
2015-04-16 01:44:20 +02:00
|
|
|
>index : string
|
|
|
|
>prop : any
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|