17 lines
214 B
Text
17 lines
214 B
Text
|
=== tests/cases/compiler/anyPlusAny1.ts ===
|
||
|
var x;
|
||
|
>x : any
|
||
|
|
||
|
x.name = "hello";
|
||
|
>x.name = "hello" : string
|
||
|
>x.name : any
|
||
|
>x : any
|
||
|
>name : any
|
||
|
|
||
|
var z = x + x;
|
||
|
>z : any
|
||
|
>x + x : any
|
||
|
>x : any
|
||
|
>x : any
|
||
|
|