依赖中的类型剥离


【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.】