-
Notifications
You must be signed in to change notification settings - Fork 0
AI-Balushi/TypeScript-45-Assignments
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
TypeScript Node.js Hello World This project provides a simple example for setting up a Node.js project with TypeScript, suitable for beginners. It includes detailed steps to configure the environment and run a basic "Hello World" application. Prerequisites Node.js installed TypeScript installed globally (npm install -g typescript) Visual Studio Code installed Steps Install Node.js from nodejs.org Install TypeScript globally using npm: npm install -g typescript Install Visual Studio Code from code.visualstudio.com Generate tsconfig.json by running: tsc --init Make it a Node.js project by running: npm init -y Install types for Node.js: npm i @types/node -D Create a .gitignore file to ignore unnecessary files Create a TypeScript file (e.g., app.ts) with a simple "Hello World" message Transpile TypeScript to JavaScript by running: tsc Run the transpiled JavaScript: node app Additional Resources TypeScript Documentation Visual Studio Code TypeScript Documentation
About
I have completed all 45 TypeScript exercises as part of my coursework. Each exercise was carefully solved and tested to ensure accuracy and understanding of TypeScript concepts.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published