But finally all .ts files will convert into .js files so they can work in browsers. Then what's the exact advantage of Typescript.
I have coded something in typescript, Let a:string = 'some string';
And I tried to change that value using input[type='number'] tag. Then 'a' value is changing even the given value is 'number'.
Can you please give me more brief about typescript?
Thanks
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
But finally all .ts files will convert into .js files so they can work in browsers.
Then what's the exact advantage of Typescript.
I have coded something in typescript,
Let a:string = 'some string';
And I tried to change that value using input[type='number'] tag.
Then 'a' value is changing even the given value is 'number'.
Can you please give me more brief about typescript?
Thanks