What is Typescript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is Typescript?

I can see in people's skills but I can't learn it myself. I have no idea what it is. Can someone help?

7th Jan 2021, 10:43 PM
Jon
7 Answers
+ 3
A statically typed extension to JS.
8th Jan 2021, 6:26 AM
Sonic
Sonic - avatar
+ 3
The Angular tutorial here has an introduction.
8th Jan 2021, 6:27 AM
Sonic
Sonic - avatar
+ 1
No lot difference between javascript and typescript ;this last uses new syntax based on nodes.js framework for desktop projects building.
7th Jan 2021, 10:56 PM
HBhZ_C
HBhZ_C - avatar
+ 1
Thank you for answering my question. Can I use Typescript on SoloLearn though?
7th Jan 2021, 10:58 PM
Jon
+ 1
Jon no, Sololearn can't run TypeScript. However, You can run them on Termux. Follow these steps to run TypeScript in Termux. 1. Install "Termux" app from Play Store. 2. Install Node.js in termux using the command pkg install nodejs 3. Install TypeScript using command npm install typescript 4. Install a code editor like Micro/ Nano using command pkg install micro. You can also use any code editor apps like Acode or Quoda. 5. Create a TypeScript file using command micro hello.ts This will open a editor where you can write your TypeScript code. 6. After writing typescript code, come back to terminal and type tsc hello.ts this will compile your TypeScript to JavaScript. 7. Now you can run it using command node hello.js and it will show output of your TypeScript code. You can also see this question on StackOverflow. https://stackoverflow.com/q/65631962/9045600
8th Jan 2021, 2:47 AM
Bibek Oli
Bibek Oli - avatar
+ 1
Bibek Oli and Sonic thank you for answering my question! 😁👍
8th Jan 2021, 10:19 AM
Jon
0
https://typescriptlang.org/ I suppose you're new to webdev, is it?
9th Jan 2021, 12:22 PM
anon