TypeScript tutorialLesson 23Free preview
TS with Node.js
This lesson is part of TypeScript · All levels
Summary
TypeScript is widely used on Node.js servers to build APIs and services. You need to install typescript along with @types/node to make global types and built-in modules available. Currently TS can be run via tsx, ts-node, or a new version of Node's built-in loader.
Key points
- Insert typewriter and @types/node
- ES module uses import and export
- Tsc without argument follows tsconfig.json
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.