23 lines
333 B
Plaintext
23 lines
333 B
Plaintext
|
=== tests/cases/conformance/types/primitives/string/validStringAssignments.ts ===
|
||
|
var x = '';
|
||
|
>x : string
|
||
|
|
||
|
var a: any = x;
|
||
|
>a : any
|
||
|
>x : string
|
||
|
|
||
|
var b: Object = x;
|
||
|
>b : Object
|
||
|
>Object : Object
|
||
|
>x : string
|
||
|
|
||
|
var c: string = x;
|
||
|
>c : string
|
||
|
>x : string
|
||
|
|
||
|
var d: String = x;
|
||
|
>d : String
|
||
|
>String : String
|
||
|
>x : string
|
||
|
|