typescript修改target导致模块导入失败can't find module
摘要:编译ts代码时,发现一个包只支持es6及更高的版本,无奈修改编译选项target,从es5修改为es6,发现原来导入包的地方报错,提示not found。 tsconfig.json { "files": [ "src/main.ts" ], "compilerOptions": { "noImpl
阅读全文
posted @ 2024-02-19 13:52