how similar are typescript and javascript code example
Example: typescript vs javascript
JavaScript:
function my_function(my_param) {
console.log('do something');
}
TypeScript:
function my_function(my_param: any) {
console.log('do something');
}