String Typercript do liczby
var x = "32";
var y: number = +x;//the "+" converts string to number
Jolly Jackal
var x = "32";
var y: number = +x;//the "+" converts string to number
var x = "32";
var y = +x; // y: number