//// [validNumberAssignments.ts]
var x = 1;

var a: any = x;
var b: Object = x;
var c: number = x;
enum E { A };
var d: E = x;
var e = E.A;
e = x;

//// [validNumberAssignments.js]
var x = 1;
var a = x;
var b = x;
var c = x;
var E;
(function (E) {
    E[E["A"] = 0] = "A";
})(E || (E = {}));
;
var d = x;
var e = 0 /* A */;
e = x;
