依赖中的类型剥离


¥Type stripping in dependencies

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

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