17 lines
233 B
Text
17 lines
233 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
|
|
>"hello" : string
|
|
|
|
var z = x + x;
|
|
>z : any
|
|
>x + x : any
|
|
>x : any
|
|
>x : any
|
|
|