Loading topic
import and export statements, basic tsconfig.json settings, and the difference between Node.js CommonJS and ES modules.1 min readtsconfig.json. This chapter focuses on how TypeScript finds files and types under nodenext and bundler.1 min readtsc, and recognize basic Node.js CommonJS (CJS) and ES module (ESM) files. Under nodenext, TypeScript follows Node.js runtime rules. Under bundler, the bundler usually handles the final module conversion.1 min read