17 lines
256 B
Text
17 lines
256 B
Text
=== 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
|
|
>null : null
|
|
}
|