17 lines
242 B
Plaintext
17 lines
242 B
Plaintext
=== tests/cases/compiler/objectLiteralIndexerNoImplicitAny.ts ===
|
|
interface I {
|
|
>I : I
|
|
|
|
[s: string]: any;
|
|
>s : string
|
|
}
|
|
|
|
var x: I = {
|
|
>x : I
|
|
>I : I
|
|
>{ p: null} : { [x: string]: null; p: null; }
|
|
|
|
p: null
|
|
>p : null
|
|
}
|