依赖中的类型剥离


¥Type stripping in dependencies

为了阻止包作者发布用 TypeScript 编写的包,Node.js 默认拒绝处理 node_modules 路径下文件夹内的 TypeScript 文件。

¥To discourage package authors from publishing packages written in TypeScript, Node.js will by default refuse to handle TypeScript files inside folders under a node_modules path.