Could not find a declaration file for module 'module-name'. '/path/to/module-name.js' implicitly has an 'any' type

解决方案:在tsconfig.json中加入下面红色标注的一行配置

// tsconfig.json

{
  "compileOnSave": false,
  "compilerOptions": {
    ........
    "noImplicitAny": false,
  },
.....
}
每天一点点
原文地址:https://www.cnblogs.com/juliazhang/p/14858651.html