docs: add README.md

parent c3fb85e8
# TypescriptDemo
Một project demo cơ bản sử dụng TypeScript thuần để rèn luyện kiến thức lập trình hướng đối tượng (OOP), khai báo kiểu dữ liệu, function, class và interface.
## Công nghệ sử dụng
- TypeScript
## Cách chạy project
1. **Cài đặt dependencies**
Mở terminal và chạy: npm install
2. **Biên dịch TypeScript sang JavaScript**
npx tsc
3. **Chạy file chính trong thư mục `dist`**
Ví dụ, nếu file chính là `interface.ts`, sau khi biên dịch sẽ thành `dist/interface.js`
> Lưu ý:
> - Các file biên dịch sẽ nằm trong thư mục `dist/`.
> - Đảm bảo đã chỉnh sửa đúng tên file khi chạy lệnh `node`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment