Can’t assign numerical value to numerical template string in typescript
In typescript, I want to assign a number variable to a string variable that only accepts numerical strings. I tried the following:
In typescript, I want to assign a number variable to a string variable that only accepts numerical strings. I tried the following: