Angular:error TS2717: Subsequent property declarations must have the same type.

182 阅读1分钟

解决方案

tsconfig.jsoncompilerOptions选项中添加如下内容"skipLibCheck": true。 如下图所示 image

之后重新启动项目。 如下图启动成功 image