Learn How to Compile & Run Typescript Code in Deno. In previous post, I explained how to install deno on Windows 10.
Here I am going to explain how to compile & run typescript code in deno.
You can check out the video below.
Process of executing the typescript with the Deno.
- Install deno
- Verify the deno on command prompt
- Write typescript code
- Save the file with the extension .ts
- Open command prompt type in deno run filename.ts
- It converts .ts to .js and then runs the .js code
- Check the output
This is pretty much the process of the typescript code to be compiled and then run as any other javascript code. Hopefully using the code in the process you can also test it out. And hopefully the install of deno has no issues and your typescript can compile properly.
I hope you like the video. You can support me when you get yourself a Javscript T-shirt.
Do let me know your comments and suggestions.
I'd appreciate the upvote.
As a follower of @followforupvotes this post has been randomly selected and upvoted! Enjoy your upvote and have a great day!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit