- 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?
7 Réponses
+ 3
A statically typed extension to JS.
+ 3
The Angular tutorial here has an introduction.
+ 1
No lot difference between javascript and typescript ;this last uses new syntax based on nodes.js framework for desktop projects building.
+ 1
Thank you for answering my question. Can I use Typescript on SoloLearn though?
+ 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
0
https://typescriptlang.org/
I suppose you're new to webdev, is it?