how to install typescript in windows tamil || typescript setup in windows

how to install typescript in windows tamil || typescript setup in windows

Kamal Byte

54 года назад

82 Просмотров

Check if Node.js is installed on your system.
1.) If Node.js is not installed, download and install it from this link https://nodejs.org/en/.
2.) Open the Node.js command prompt.
3.) Install TypeScript globally by running the command: npm install --global [email protected].
4.) Create a TypeScript file with any name and the .ts extension (e.g., example.ts), and save it to your preferred location.
5.) Navigate to the directory where you saved the .ts file using the Node.js command prompt.
6.) Run the command tsc --init to create a tsconfig.json file.
7.) Compile the TypeScript file to JavaScript by running the command tsc.
8.) Run node filename.js to execute the compiled JavaScript file and see the output.

If you have any queries reach out anytime
email: [email protected]
Ссылки и html тэги не поддерживаются


Комментарии: