จริงๆ tsc init ก็ได้ ไม่ต้องเขียน tsconfig.json เอง แถมยัง update ตาม version TypeScript
tsc init
tsconfig.json
npx tsc init # or yarn tsc init
ส่วนเรื่อง nodemon ส่วนใหญ่ เราจะใช้ ts-node-dev
nodemon
ts-node-dev
ขอบคุณครับ จริงๆ ตอนแรกใช้ npx tsc --init สร้างมาก่อน แล้วแก้ไขไฟล์เอาแต่ตอนเขียนลืมบอกไป
npx tsc --init
ส่วน ts-node-dev ไว้ลองศึกษาเพิ่มดูครับ ขอบคุณครับ
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
จริงๆ
tsc init
ก็ได้ ไม่ต้องเขียนtsconfig.json
เอง แถมยัง update ตาม version TypeScriptส่วนเรื่อง
nodemon
ส่วนใหญ่ เราจะใช้ts-node-dev
ขอบคุณครับ จริงๆ ตอนแรกใช้
npx tsc --init
สร้างมาก่อน แล้วแก้ไขไฟล์เอาแต่ตอนเขียนลืมบอกไปส่วน
ts-node-dev
ไว้ลองศึกษาเพิ่มดูครับ ขอบคุณครับ