14 lines
218 B
TypeScript
14 lines
218 B
TypeScript
//// [validStringAssignments.ts]
|
|
var x = '';
|
|
|
|
var a: any = x;
|
|
var b: Object = x;
|
|
var c: string = x;
|
|
var d: String = x;
|
|
|
|
//// [validStringAssignments.js]
|
|
var x = '';
|
|
var a = x;
|
|
var b = x;
|
|
var c = x;
|
|
var d = x;
|