[英]export was not found error - after updating to angular-10
將我的項目更新為 angular-10 后,出現錯誤:
ERROR in ./src/someDir/someService.service.ts 17:33-14
"export 'format' was not found in 'some-library'
當去“一些圖書館”時,會導出 function
export function format(options?: LBSOptions): any;
知道 go 會出錯嗎?
只需將 tsconfig.json 中的目標更改為 ES6 或更高版本。 我有同樣的問題,它可以幫助我解決它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.