Node.js 变得更酷了:原生支持 TypeScript 和监视模式来助阵

Node.js just rolled up in sunglasses, holding a smoothie, and said, “Guess who supports TypeScript natively now?” That’s right—it’s leveling up in a big way. With built-in TypeScript support and a...

Node.js 现已原生支持 TypeScript,简化了开发流程。使用 --experimental-transform 标志可直接运行 .ts 文件,省去编译步骤。同时,新增监视模式可自动重启应用,提升开发效率。只需在 package.json 中添加脚本即可轻松运行。

Node.js 变得更酷了:原生支持 TypeScript 和监视模式来助阵
原文英文,约400词,阅读约需2分钟。发表于:
阅读原文