Some of the tips in migrating existing JavaScript code to TypeScript.
JavaScript
var name = "test";
TypeScript
//declare fieldName as string
let name: string ;
name = "test";
Some of the tips in migrating existing JavaScript code to TypeScript.
JavaScript
var name = "test";
TypeScript
//declare fieldName as string
let name: string ;
name = "test";
For further actions, you may consider blocking this person and/or reporting abuse
This post blew up on DEV in 2020:
As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳
Happy coding!
Calvince Moth -
DPC -
Vishnu Satheesh -
Wilson Gouanet -
Top comments (0)