摘要: 很常见的错误就是 SyntaxError: Unexpected token 'export',需要确保以下操作,才能解决问题 tsconfig.json 中 compilerOptions.module 与 target 要设置为 ESNext,compilerOptions.target 也要设 阅读全文
posted @ 2024-03-30 14:54 TateWang 阅读(51) 评论(0) 推荐(0) 编辑
Top