TypeScript/tests/baselines/reference/classImplementingInterfaceIndexer.types

17 lines
262 B
Plaintext
Raw Normal View History

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