error TS2339 问题 项目启动后报错 error TS2339 解决 修改tslint配置规则: // tslint.json "no-inferrable-types": [ false, "ignore-params" ], 参考 tslint配置规则