[英]export was not found error - after updating to angular-10
After updating my project to angular-10 i'm getting an error:将我的项目更新为 angular-10 后,出现错误:
ERROR in ./src/someDir/someService.service.ts 17:33-14
"export 'format' was not found in 'some-library'
when going to 'some-library' there form function is exported当去“一些图书馆”时,会导出 function
export function format(options?: LBSOptions): any;
any idea what could go wrong?知道 go 会出错吗?
Just change your target in tsconfig.json to ES6 or above.只需将 tsconfig.json 中的目标更改为 ES6 或更高版本。 I had the same problem and it helps me to fix it.我有同样的问题,它可以帮助我解决它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.